pgsql: pg_dump: Fix crash with invalid pg_cast row

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: pg_dump: Fix crash with invalid pg_cast row
Дата
Msg-id E1S8c3S-0005a9-7e@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_dump: Fix crash with invalid pg_cast row

An invalid combination of pg_cast.castfunc and pg_cast.castmethod
would result in a segmentation fault.  Now it prints a warning.

found by Coverity

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/359dea2859c63e73c8f3f4d769e5cf1eda2a428d

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |   23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve commentary in match_pathkeys_to_index().
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pg_restore: Fix memory and file descriptor leak with directory f