gnutls_ext_register causing memory corruption
Simon Josefsson
simon at josefsson.org
Mon Jun 8 19:01:51 CEST 2009
Martin von Gagern <Martin.vGagern at gmx.net> writes:
> Simon Josefsson wrote:
>> diff --git a/lib/gnutls_extensions.c b/lib/gnutls_extensions.c
>> index e4e536f..8fe2edd 100644
>> --- a/lib/gnutls_extensions.c
>> +++ b/lib/gnutls_extensions.c
>> @@ -331,6 +331,8 @@ void
>> _gnutls_ext_deinit (void)
>> {
>> gnutls_free (extfunc);
>> + extfunc = NULL;
>> + extfunc_size = 0;
>> }
>>
>> /**
>>
>
> Looks good to me; no more segfaults at shutdown. I'll point the Gentoo
> folks at this, should give the issue quite a broad testing, based on the
> high number of subscribers on the cc lists of the involved bug reports.
I would appreciate testing. I've prepared a v2.8.x daily snapshot with
the patch, please test it:
http://daily.josefsson.org/gnutls-2.8/gnutls-2.8-20090608.tar.gz
> Will you release a 2.8.1 to address the issue? Given that it's a
> regression, and could cause major data loss, I wouldn't want to wait too
> long for this to get released officially, especially as the patch
> obviously won't make things any worse.
Right. If testing is successful, I can make the release quickly. The
above *.tar.gz is RC1 of 2.8.1.
/Simon
More information about the Gnutls-devel
mailing list