Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group