[gnutls-dev] OpenCDK double free bug
Adam Langley
agl at imperialviolet.org
Mon Oct 9 23:04:29 CEST 2006
(I hope opencdk is on topic for this list)
Line numbers from opencdk-0.5.9
in keylist.c:cdk_pklist_encrypt:287
This call to cdk_pklist_encrypt also causes enc to be free'ed, however
the pointer here isn't NULLed out so it's double free'ed at line 294
Suggested (e.g. it works for me): set enc to NULL after cdk_pklist_encrypt
Cheers
AGL
--
Adam Langley agl at imperialviolet.org
http://www.imperialviolet.org 650-283-9641
More information about the Gnutls-devel
mailing list