pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix memory leak when rejecting bogus DH parameters. 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix memory leak when rejecting bogus DH parameters. @ 2021-03-20 16:48 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-20 16:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e835e89a0fd267871e7fbddc39ad00ee3d0cb55c Modified Files -------------- src/backend/libpq/be-secure-openssl.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix memory leak when rejecting bogus DH parameters. @ 2021-03-20 16:48 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-20 16:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4b41f6923458ec736ff5d81e48229b88cf39b635 Modified Files -------------- src/backend/libpq/be-secure-openssl.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix memory leak when rejecting bogus DH parameters. @ 2021-03-20 16:48 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-20 16:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2f31414f4322876b34674eedc6e7d19c29ebe0d0 Modified Files -------------- src/backend/libpq/be-secure-openssl.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix memory leak when rejecting bogus DH parameters. @ 2021-03-20 16:48 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-20 16:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8c830148d2d411da25272503b5456a66833d8e47 Modified Files -------------- src/backend/libpq/be-secure-openssl.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix memory leak when rejecting bogus DH parameters. @ 2021-03-20 16:48 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-20 16:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ad6c19066d931c66612531d83b15dfd2464e2a29 Modified Files -------------- src/backend/libpq/be-secure-openssl.c | 3 +++ 1 file changed, 3 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2021-03-20 16:48 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-03-20 16:48 pgsql: Fix memory leak when rejecting bogus DH parameters. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-20 16:48 pgsql: Fix memory leak when rejecting bogus DH parameters. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-20 16:48 pgsql: Fix memory leak when rejecting bogus DH parameters. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-20 16:48 pgsql: Fix memory leak when rejecting bogus DH parameters. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-20 16:48 pgsql: Fix memory leak when rejecting bogus DH parameters. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox