]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix output string size in GOST unittest
authorMukund Sivaraman <muks@isc.org>
Wed, 13 Sep 2017 20:04:48 +0000 (01:34 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 13 Sep 2017 20:06:08 +0000 (01:36 +0530)
lib/dns/tests/gost_test.c

index e2e953bdc2095f8b20c367a520c858608d66fac0..2dda637d9311a2d5d0abfe52689f9d87ce33ae2c 100644 (file)
@@ -48,7 +48,7 @@
 unsigned char digest[ISC_GOST_DIGESTLENGTH];
 unsigned char buffer[1024];
 const char *s;
-char str[2 * ISC_GOST_DIGESTLENGTH + 1];
+char str[2 * ISC_GOST_DIGESTLENGTH + 3];
 int i = 0;
 
 /*