]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix memory leak in pg_hmac
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 1 Oct 2021 20:47:05 +0000 (22:47 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 1 Oct 2021 20:47:05 +0000 (22:47 +0200)
commita5e83ad79c282421f32224c5152d6182de34da35
tree1393606a9ba0ccc3e80e5c6827983290aa55f15d
parenta54509bfd952085a24224480ff74d5cbd558c407
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
src/common/hmac.c