gnutls-devel
[Top][All Lists]
Advanced

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

Re: Buildreport for GnuTLS 2.8.3


From: Daiki Ueno
Subject: Re: Buildreport for GnuTLS 2.8.3
Date: Tue, 25 Aug 2009 06:46:38 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>>>> In <address@hidden> 
>>>>>   Simon Josefsson <address@hidden> wrote:
> Oops, the build robot haven't been able to build it since then, the
> "resume" test is failing.  I suspect it is related to the TLS session
> ticket support that went in recently.  Build log:

> http://autobuild.josefsson.org/gnutls/log-200908241414540949000.txt

> I'm working on it.

Oops, it seems that I installed a double-free bug along with memleak
fixes...  Sorry for taking your time.

Here is a patch to fix it:

diff --git a/tests/resume.c b/tests/resume.c
index 9c23940..cbd4968 100644
--- a/tests/resume.c
+++ b/tests/resume.c
@@ -422,6 +422,7 @@ server (struct params_res *params)
     }
 
   gnutls_free (session_ticket_key.data);
+  session_ticket_key.data = NULL;
 
   success ("server: finished\n");
 }
@@ -459,7 +460,7 @@ doit (void)
       else
        {
          client (&resume_tests[i]);
-         global_stop ();
+         gnutls_global_deinit ();
          exit (0);
        }
     }
Regerds,
-- 
Daiki Ueno

reply via email to

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