Fix memory leak in pg_hmac
Daniel Gustafsson <dgustafsson@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
Files
| Path | Change | +/− |
|---|---|---|
| src/common/hmac.c | modified | +5 −0 |
Discussion
- Memory leak in pg_hmac_final 5 messages · 2021-10-01 → 2021-10-02