gnutls-devel
[Top][All Lists]
Advanced

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

Re: gnutls_ext_register causing memory corruption


From: Simon Josefsson
Subject: Re: gnutls_ext_register causing memory corruption
Date: Mon, 08 Jun 2009 19:01:51 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux)

Martin von Gagern <address@hidden> 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




reply via email to

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