Error in recent pg_dump change (coverity) - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Error in recent pg_dump change (coverity)
Date
Msg-id 20060528123204.GA22869@svana.org
Whole thread Raw
Responses Re: Error in recent pg_dump change (coverity)  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Coverity picked up an error in dumpStdStrings() since last night. At
line 1448 there's PQclear(res) yet it's used several times further down
(lines 1452, 1454 and 1456).

I'd actually suggest zeroing out res->tuples in PQclear so this sort of
problem becomes much more obvious.

Coverity bug 304 for people watching at home.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Marko Kreen"
Date:
Subject: Re: Inefficient bytea escaping?
Next
From: Alvaro Herrera
Date:
Subject: Re: Error in recent pg_dump change (coverity)