aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.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:22 +0200
commit811015ff9aafd2d5e03fbd931f7c6102b3d6516a (patch)
tree6ab7da6f43448423f7a3d17a5588b6f115a4ee99 /src/backend/utils/adt/numeric.c
parent3852eaba10bdcd8eafa5e64dbd853dc5c50e134c (diff)
downloadpostgresql-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 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions