pgsql: pg_dump: Fix crash with invalid pg_cast row

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_dump: Fix crash with invalid pg_cast row
Date: 2012-03-16 18:39:10
Message-ID: E1S8c3S-0005a9-7e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-03-16 22:54:26 pgsql: In pg_upgrade, create a script to incrementally generate more ac
Previous Message Tom Lane 2012-03-16 18:08:05 pgsql: Improve commentary in match_pathkeys_to_index().