Re: clang's static checker report.

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: clang's static checker report.
Дата
Msg-id 407d949e0908291005y6481a5d4xe0cd19e2f741d993@mail.gmail.com
обсуждение исходный текст
Ответ на Re: clang's static checker report.  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Ответы Re: clang's static checker report.  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Re: clang's static checker report.  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
Oh, I think I see what's happening. Our assertions can still be turned
off at run-time with the variable assert_enabled.

Hm, you would have to replace assert_enabled with a #define in
postgres.h and then do something about the guc.c code which assigns to
it.


On another note is there any way to marke MemoryContextAlloc,
MemoryContextAllocZero, palloc, repalloc, and friends as never
returning NULL? I think that's causing most of the "null dereferenced"
errors.


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

Предыдущее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: Re: clang's static checker report.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 8.5 release timetable, again