Re: Coverity reports looking good

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Coverity reports looking good
Дата
Msg-id 20060820172446.GA30039@1
обсуждение исходный текст
Ответ на Re: Coverity reports looking good  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Aug 20, 2006 at 11:52:53AM -0400, Tom Lane wrote:
> Well, if Coverity's idea of good programming practice is that every
> program must explicitly free everything it ever malloced before it
> terminates, then I'm afraid we'll have to agree to disagree.  The

I don't think Coverity even knows how long a program may run.

But while I agree that freeing all memory is not needed in a short
running program, I still think we should examine those reports because
they may show some real bugs. At least this is what happened to some
degree in ecpg.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: pg_dump versus SERIAL, round N
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump versus SERIAL, round N