summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael Paquier2025-07-22 05:00:12 +0000
committerMichael Paquier2025-07-22 05:00:12 +0000
commitc934d56738946fe50a413e13301d60c7a3c7318c (patch)
treea4e5c7baf3b07895cb6f032e22c75abdf5c8782b /configure.in
parentab13b7a8c7bcf6d543a8f87d55359cc0ad261157 (diff)
ecpg: Fix NULL pointer dereference during connection lookupREL_13_STABLE
ECPGconnect() caches established connections to the server, supporting the case of a NULL connection name when a database name is not specified by its caller. A follow-up call to ECPGget_PGconn() to get an established connection from the cached set with a non-NULL name could cause a NULL pointer dereference if a NULL connection was listed in the cache and checked for a match. At least two connections are necessary to reproduce the issue: one with a NULL name and one with a non-NULL name. Author: Aleksander Alekseev <aleksander@tigerdata.com> Discussion: https://postgr.es/m/CAJ7c6TNvFTPUTZQuNAoqgzaSGz-iM4XR61D7vEj5PsQXwg2RyA@mail.gmail.com Backpatch-through: 13
Diffstat (limited to 'configure.in')
0 files changed, 0 insertions, 0 deletions