Re: Memory leak in pg_hmac_final - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Memory leak in pg_hmac_final
Date
Msg-id YVftWKnocJaBcvDi@paquier.xyz
Whole thread Raw
In response to Re: Memory leak in pg_hmac_final  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On Fri, Oct 01, 2021 at 10:58:07PM +0200, Daniel Gustafsson wrote:
> Nice, I hadn't heard of that before but it seems quite neat.

Thanks for the fix, it looks fine.  I just saw the thread.  Perhaps
the commit log should have said that this only impacts non-OpenSSL
builds.  Worth noting that in ~13 we used a static buffer for "h" in
the SCRAM code, as its size was known thanks to SHA-256.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Daniel Fone
Date:
Subject: Re: pgcrypto support for bcrypt $2b$ hashes
Next
From: Michael Paquier
Date:
Subject: Re: 2021-09 Commitfest