aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeBitmapOr.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2023-09-22 11:18:25 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2023-09-22 11:18:25 +0200
commitf720875a4670f94c6d8acd288a2a62c7cabb92dd (patch)
treeab1069c4078d97988107353ca8a721e3d60a7aa2 /src/backend/executor/nodeBitmapOr.c
parent227c7cf15602fa21af7eea1bd11375b7572649e3 (diff)
downloadpostgresql-f720875a4670f94c6d8acd288a2a62c7cabb92dd.tar.gz
postgresql-f720875a4670f94c6d8acd288a2a62c7cabb92dd.zip
Avoid potential pfree on NULL on OpenSSL errors
Guard against the pointer being NULL before pfreeing upon an error returned from OpenSSL. Also handle errors from X509_NAME_print_ex which also can return -1 on memory allocation errors. Backpatch down to v15 where the code was added. Author: Sergey Shinderuk <s.shinderuk@postgrespro.ru> Discussion: https://postgr.es/m/8db5374d-32e0-6abb-d402-40762511eff2@postgrespro.ru Backpatch-through: v15
Diffstat (limited to 'src/backend/executor/nodeBitmapOr.c')
0 files changed, 0 insertions, 0 deletions