By accidently passing a NULL pointer in a RuleStmt's RangeVar relname i 
recognized
that this can lead to a crash of the backend in the function hashname(), 
located in hashfunc.c. It calls strlen() without checking the key pointer 
in line 126, which leads on my machine to a null pointer violation. Since 
i'm bloody new to the backend i don't really know if its worth to talk 
about, but i want you to know.....

Platform is MDK Linux 10.0 Community Edition, glibc 2.3.3

-- 
  Bernd

Thu, 05 Aug 2004 18:32:29 +0200
Bernd Helmle <mailings@oopsware.de>
NULL pointer crashes hashname()
Bernd Helmle <mailings@oopsware.de> writes:
> By accidently passing a NULL pointer in a RuleStmt's RangeVar relname i 
> recognized
> that this can lead to a crash of the backend in the function hashname(), 
> located in hashfunc.c.

This is your bug, not hashname's.

			regards, tom lane

Thu, 05 Aug 2004 15:14:55 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: NULL pointer crashes hashname() 