[Opensrf-commits] r1076 - trunk/src/libopensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 7 11:31:31 EDT 2007
Author: miker
Date: 2007-08-07 11:28:44 -0400 (Tue, 07 Aug 2007)
New Revision: 1076
Modified:
trunk/src/libopensrf/sha.c
Log:
Patch from Scott McKellar to protect SHA-1 against an off-by-one bug
Modified: trunk/src/libopensrf/sha.c
===================================================================
--- trunk/src/libopensrf/sha.c 2007-08-07 15:15:08 UTC (rev 1075)
+++ trunk/src/libopensrf/sha.c 2007-08-07 15:28:44 UTC (rev 1076)
@@ -208,7 +208,7 @@
INT64 length=0;
int strsz;
- static char final[40];
+ static char final[41];
int *hashval;
hashval = (int *)malloc(20);
More information about the opensrf-commits
mailing list