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:16 +0200 |
commit | 30bf4689a96cd283af33edcdd6b7210df3f20cd8 (patch) | |
tree | 4698e97308664b7126637563b7f0352580513490 /src/backend/utils/adt/array_userfuncs.c | |
parent | e453cc2741416dc784842b2bba68749556cf0f6f (diff) | |
download | postgresql-30bf4689a96cd283af33edcdd6b7210df3f20cd8.tar.gz postgresql-30bf4689a96cd283af33edcdd6b7210df3f20cd8.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 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions