[systemd-devel] hash context not closed.
vcaputo at pengaru.com
vcaputo at pengaru.com
Sat Feb 3 19:27:49 UTC 2018
On Sat, Feb 03, 2018 at 07:26:24PM +0100, Stef Bon wrote:
> Hi,
>
> when I look at the function string_hashsum it looks like the context
> is not closed when done.
>
> After a succesfull gcry_md_open the hash context md should be closed
> when leaving this function. That does not happen.
>
Nice catch, that indeed looks like a leak. Would you like to prep a
PR fixing it?
Regards,
Vito Caputo
More information about the systemd-devel
mailing list