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:29 +0200 |
commit | d3b162a3dd6f40b75bf4eed2efac0d4be5c22e15 (patch) | |
tree | 6d22b074f0555cb966752a1fc62aeca3bdc4a199 /contrib/xml2/xslt_proc.c | |
parent | c57cdc9c1af213ceebc75ce72bd08eb229ba9bda (diff) | |
download | postgresql-d3b162a3dd6f40b75bf4eed2efac0d4be5c22e15.tar.gz postgresql-d3b162a3dd6f40b75bf4eed2efac0d4be5c22e15.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