diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-10-20 22:20:33 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-10-20 22:24:04 +0300 |
commit | 18e752f226300292c6182b68b2568dc2d66db8bd (patch) | |
tree | 89dbcd0ae5078282aa20d7f78f037c71dbc2594b /src/backend/utils/adt/xml.c | |
parent | def30e84c41389225ee9e56cb7c722980bab9746 (diff) | |
download | postgresql-18e752f226300292c6182b68b2568dc2d66db8bd.tar.gz postgresql-18e752f226300292c6182b68b2568dc2d66db8bd.zip |
If pk is NULL, the backend would segfault when accessing ->algo and the
following NULL check was never reached.
This problem was found by Coccinelle (null_ref.cocci from coccicheck).
Marti Raudsepp
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions