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: Martin von Gagern
Subject: Re: gnutls_ext_register causing memory corruption
Date: Mon, 08 Jun 2009 18:53:05 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090501)

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.

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.

Greetings, and thanks for the fix,
 Martin

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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