aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-03-20 12:47:21 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-03-20 12:47:48 -0400
commit8c830148d2d411da25272503b5456a66833d8e47 (patch)
tree13624fa92de6c49c3e02aa440060cf8efd9f55d8 /src/backend/access/gist/gistbuildbuffers.c
parentc49e287a8e4dbc3013a56f88793638f79a6ef099 (diff)
downloadpostgresql-8c830148d2d411da25272503b5456a66833d8e47.tar.gz
postgresql-8c830148d2d411da25272503b5456a66833d8e47.zip
Fix memory leak when rejecting bogus DH parameters.
While back-patching e0e569e1d, I noted that there were some other places where we ought to be applying DH_free(); namely, where we load some DH parameters from a file and then reject them as not being sufficiently secure. While it seems really unlikely that anybody would hit these code paths in production, let alone do so repeatedly, let's fix it for consistency. Back-patch to v10 where this code was introduced. Discussion: https://postgr.es/m/16160-18367e56e9a28264@postgresql.org
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions