]> granicus.if.org Git - postgresql/commit
Fix use of free in walsender error handling after a sysid mismatch.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 May 2014 12:14:51 +0000 (15:14 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 May 2014 12:17:07 +0000 (15:17 +0300)
commite0070a6858cfcd2c4129dfa93bc042d6d86732c8
tree26564d889d42a52da0ec5866a347003fcd34f296
parentfb66e88cf8f7ce7abf27cff1570a703e1cb8f562
Fix use of free in walsender error handling after a sysid mismatch.

Found via valgrind. The bug exists since the introduction of the walsender,
so backpatch to 9.0.

Andres Freund
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c