Module Name:    othersrc
Committed By:   agc
Date:           Tue Mar 25 17:44:34 UTC 2014

Modified Files:
        othersrc/external/bsd/multigest/dist: multigest.c

Log Message:
Minor change to multigest

+ avoid advancing the pointer in multigest_format_hex to include a NUL
  byte - unintended side effects in callers


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 othersrc/external/bsd/multigest/dist/multigest.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/multigest/dist/multigest.c
diff -u othersrc/external/bsd/multigest/dist/multigest.c:1.9 othersrc/external/bsd/multigest/dist/multigest.c:1.10
--- othersrc/external/bsd/multigest/dist/multigest.c:1.9	Wed Mar  5 04:56:00 2014
+++ othersrc/external/bsd/multigest/dist/multigest.c	Tue Mar 25 17:44:34 2014
@@ -586,7 +586,7 @@ multigest_format_hex(uint8_t *raw, const
 			algname += 1;
 		}
 	}
-	return (int)(rawsize + rawsize + 1);
+	return (int)(rawsize + rawsize);
 }
 
 /* return the size of output array we'll need */

Reply via email to