NULL pointer crashes hashname()

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема NULL pointer crashes hashname()
Дата
Msg-id DC5AA5BF69CE4A09B076C99B@sparkey.oopsware.intra
обсуждение исходный текст
Ответы Re: NULL pointer crashes hashname()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mike Mascari
Дата:
Сообщение: Re: Tom in Doom3?
Следующее
От: Jonathan Gardner
Дата:
Сообщение: Re: Open items