[PATCH] Fix use of free in walsender error handling after a sysid mismatch.

Started by Andres Freundalmost 12 years ago2 messageshackers
Jump to latest
#1Andres Freund
andres@anarazel.de

Hi,

Walsender does a PQClear(con) but then accesses data acquired with
PQgetvalue(). That's clearly not ok.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachments:

0001-Fix-use-of-free-in-walsender-error-handling-after-a-.patchtext/x-patch; charset=us-asciiDownload+1-1
#2Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Andres Freund (#1)
Re: [PATCH] Fix use of free in walsender error handling after a sysid mismatch.

On 05/05/2014 07:14 PM, Andres Freund wrote:

Hi,

Walsender does a PQClear(con) but then accesses data acquired with
PQgetvalue(). That's clearly not ok.

Fixed, thanks!

- Heikki

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers