pgsql: pg_dump: Fix crash with invalid pg_cast row - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pg_dump: Fix crash with invalid pg_cast row
Date
Msg-id E1S8c3S-0005a9-7e@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve commentary in match_pathkeys_to_index().
Next
From: Peter Eisentraut
Date:
Subject: pgsql: pg_restore: Fix memory and file descriptor leak with directory f