diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-11-25 12:55:00 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-11-25 14:10:22 +0200 |
commit | 811015ff9aafd2d5e03fbd931f7c6102b3d6516a (patch) | |
tree | 6ab7da6f43448423f7a3d17a5588b6f115a4ee99 /contrib/xml2/xslt_proc.c | |
parent | 3852eaba10bdcd8eafa5e64dbd853dc5c50e134c (diff) | |
download | postgresql-811015ff9aafd2d5e03fbd931f7c6102b3d6516a.tar.gz postgresql-811015ff9aafd2d5e03fbd931f7c6102b3d6516a.zip |
Check return value of strdup() in libpq connection option parsing.
An out-of-memory in most of these would lead to strange behavior, like
connecting to a different database than intended, but some would lead to
an outright segfault.
Alex Shulgin and me. Backpatch to all supported versions.
Diffstat (limited to 'contrib/xml2/xslt_proc.c')
0 files changed, 0 insertions, 0 deletions