[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnutls-dev] Re: OpenCDK double free bug

From: Simon Josefsson
Subject: [gnutls-dev] Re: OpenCDK double free bug
Date: Wed, 11 Oct 2006 16:24:39 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"Adam Langley" <address@hidden> writes:

> (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

I assume you meant after cdk_pkt_write?  That would make more sense.

I'll be releasing opencdk 0.5.10 later today, so if you, or anyone
else, have time, please check if CVS works fine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]