Skip site navigation (1) Skip section navigation (2)

Error in recent pg_dump change (coverity)

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Error in recent pg_dump change (coverity)
Date: 2006-05-28 12:32:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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(at)svana(dot)org>
> From each according to his ability. To each according to his ability to litigate.


pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2006-05-28 15:42:48
Subject: Re: Error in recent pg_dump change (coverity)
Previous:From: Marko KreenDate: 2006-05-28 11:45:39
Subject: Re: Inefficient bytea escaping?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group