Memory leak in gcry_pk_sign (libgcrypt v1.2.0)
Fromm, Thilo
t.fromm at DResearch.de
Mon Jun 7 18:06:51 CEST 2004
Hello list,
While playing with libgcrypt-1.2.0 I found a small memory leak in
cipher/pubkey.c, function gcry_pk_sign: "gcry_mpi_t * result" is freed
without having its resources freed first. The attached patch seems to fix
the problem. Please have a look at it - I rather guessed there as I'm new
to libgcrypt land...
Sincerely,
Thilo
/* Dipl.-Ing. (FH) Thilo Fromm, MSc., Hardware & Software
* DResearch Digital Media Systems GmbH
* Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
* Tel: +49 (30) 515932-228 mailto:t.fromm at dresearch.de
* Fax: +49 (30) 515932-299 http://www.dresearch.de */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lgc-1.2.0-pubkey.patch
Type: application/octet-stream
Size: 401 bytes
Desc: not available
Url : /pipermail/attachments/20040607/4b96db6f/lgc-1.2.0-pubkey-0001.exe
More information about the Gcrypt-devel
mailing list