]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix use of already freed memory when dumping a database's security label.
authorAndres Freund <andres@anarazel.de>
Sun, 18 Jan 2015 14:57:55 +0000 (15:57 +0100)
committerAndres Freund <andres@anarazel.de>
Sun, 18 Jan 2015 15:16:29 +0000 (16:16 +0100)
commit509da5929ae0f5a5a51e5f86f4c9ae659c189b1a
treece06a07c102ec9666a64c43ce9545e0400667288
parente32cb8d0e02f8f3fa2c66d80b5cf0ad762c79c9d
Fix use of already freed memory when dumping a database's security label.

pg_dump.c:dumDatabase() called ArchiveEntry() with the results of a a
query that was PQclear()ed a couple lines earlier.

Backpatch to 9.2 where security labels for shared objects where
introduced.
src/bin/pg_dump/pg_dump.c