pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix memory leak in pg_hmac
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix memory leak in pg_hmac
@ 2021-10-01 20:50 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2021-10-01 20:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix memory leak in pg_hmac

The intermittent h buffer was not freed, causing it to leak. Backpatch
through 14 where HMAC was refactored to the current API.

Author: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
Discussion: https://postgr.es/m/af07e620-7e28-a742-4637-2bc44aa7c2be@postgrespro.ru
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0ded7039fab314afb7cbaf36b52209f253c05539

Modified Files
--------------
src/common/hmac.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix memory leak in pg_hmac
@ 2021-10-01 20:50 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2021-10-01 20:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix memory leak in pg_hmac

The intermittent h buffer was not freed, causing it to leak. Backpatch
through 14 where HMAC was refactored to the current API.

Author: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
Discussion: https://postgr.es/m/af07e620-7e28-a742-4637-2bc44aa7c2be@postgrespro.ru
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a5e83ad79c282421f32224c5152d6182de34da35

Modified Files
--------------
src/common/hmac.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-10-01 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 20:50 pgsql: Fix memory leak in pg_hmac Daniel Gustafsson <dgustafsson@postgresql.org>
2021-10-01 20:50 pgsql: Fix memory leak in pg_hmac Daniel Gustafsson <dgustafsson@postgresql.org>

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