]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_dump: Fix crash with invalid pg_cast row
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 16 Mar 2012 17:55:41 +0000 (19:55 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 16 Mar 2012 18:34:59 +0000 (20:34 +0200)
commit359dea2859c63e73c8f3f4d769e5cf1eda2a428d
tree53336c0b62ed811df16bac54dc7e4cc7e769a05c
parentd8e5b3427a0f0c127eb08a3130055180ed0118e1
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
src/bin/pg_dump/pg_dump.c