Skip to content

Commit abcab2a

Browse files
committed
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.
1 parent 906599f commit abcab2a

File tree

1 file changed

+148
-70
lines changed

1 file changed

+148
-70
lines changed

0 commit comments

Comments
 (0)