[svn] gcry - r1204 - in branches/LIBGCRYPT-1-2-BRANCH: . src
svn author wk
cvs at cvs.gnupg.org
Thu Feb 1 19:53:24 CET 2007
Author: wk
Date: 2007-02-01 19:53:23 +0100 (Thu, 01 Feb 2007)
New Revision: 1204
Modified:
branches/LIBGCRYPT-1-2-BRANCH/autogen.sh
branches/LIBGCRYPT-1-2-BRANCH/src/ChangeLog
branches/LIBGCRYPT-1-2-BRANCH/src/secmem.c
Log:
Removed GCCism.
Modified: branches/LIBGCRYPT-1-2-BRANCH/autogen.sh
===================================================================
--- branches/LIBGCRYPT-1-2-BRANCH/autogen.sh 2007-02-01 16:50:34 UTC (rev 1203)
+++ branches/LIBGCRYPT-1-2-BRANCH/autogen.sh 2007-02-01 18:53:23 UTC (rev 1204)
@@ -154,4 +154,4 @@
echo "Running autoconf${FORCE} ..."
$AUTOCONF${FORCE}
-echo "You may now run \"./configure --enable-maintainer-mode && make\"."
+echo "You may now run \"./configure --enable-maintainer-mode --enable-gcc-warnings && make\"."
Modified: branches/LIBGCRYPT-1-2-BRANCH/src/ChangeLog
===================================================================
--- branches/LIBGCRYPT-1-2-BRANCH/src/ChangeLog 2007-02-01 16:50:34 UTC (rev 1203)
+++ branches/LIBGCRYPT-1-2-BRANCH/src/ChangeLog 2007-02-01 18:53:23 UTC (rev 1204)
@@ -1,3 +1,8 @@
+2007-02-01 Werner Koch <wk at g10code.com>
+
+ * secmem.c (_gcry_private_is_secure): Trapped by gcc, void* has a
+ size only in gcc. Reported by Christian Biere.
+
2007-01-31 Werner Koch <wk at g10code.com>
* secmem.c (_gcry_private_is_secure): Fixed severe implementation
Modified: branches/LIBGCRYPT-1-2-BRANCH/src/secmem.c
===================================================================
--- branches/LIBGCRYPT-1-2-BRANCH/src/secmem.c 2007-02-01 16:50:34 UTC (rev 1203)
+++ branches/LIBGCRYPT-1-2-BRANCH/src/secmem.c 2007-02-01 18:53:23 UTC (rev 1204)
@@ -589,7 +589,7 @@
{
return (pool_okay
&& p >= pool
- && p < pool+pool_size);
+ && p < (void*)((char*)pool+pool_size));
}
More information about the Gnupg-commits
mailing list