[update] 1.1.94 released

Werner Koch wk at gnupg.org
Mon Mar 29 15:08:45 CEST 2004


Hi!

As dictated by Murphy a problem was found right after the release.
Please apply the following patch to libgcrypt-1.1.94.


2004-03-29  Werner Koch  <wk at gnupg.org>

	* secmem.c (_gcry_secmem_realloc): Fixed double unlock; bug
	manifested itself due to the more rigorous checking in the changed
	ath.h


diff -u -p -r1.21 -r1.22
--- src/secmem.c        3 Feb 2004 12:13:16 -0000       1.21
+++ src/secmem.c        29 Mar 2004 12:41:45 -0000      1.22
@@ -563,7 +563,6 @@ _gcry_secmem_realloc (void *p, size_t ne
   size = mb->size;
   if (newsize < size)
     {
-      SECMEM_UNLOCK;
       /* It is easier to not shrink the memory.  */
       a = p;
     }




Shalom-Salam,

   Werner





More information about the Gcrypt-devel mailing list