aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-11-25 12:55:00 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-11-25 14:10:16 +0200
commit30bf4689a96cd283af33edcdd6b7210df3f20cd8 (patch)
tree4698e97308664b7126637563b7f0352580513490 /src/backend/utils/adt/array_userfuncs.c
parente453cc2741416dc784842b2bba68749556cf0f6f (diff)
downloadpostgresql-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