pgsql: Fix memory leak in pg_hmac - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Fix memory leak in pg_hmac
Date
Msg-id E1mWPUg-0000G3-2H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix memory leak in pg_hmac
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Remove unstable, unnecessary test; fix typo