pgsql: Fix use of already freed memory when dumping a database's securi

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Fix use of already freed memory when dumping a database's securi
Дата
Msg-id E1YCre1-0007JC-EU@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/525b84c576e119de7f2b0d00e3a99d559771aa7b

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |   14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix use of already freed memory when dumping a database's securi
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix use of already freed memory when dumping a database's securi