From: Mukund Sivaraman Date: Wed, 13 Sep 2017 20:04:48 +0000 (+0530) Subject: Fix output string size in GOST unittest X-Git-Tag: v9.12.0b1~213 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=e5eca6eebb9e514b2a2022c53196b7a66b6aaabe;p=thirdparty%2Fbind9.git Fix output string size in GOST unittest --- diff --git a/lib/dns/tests/gost_test.c b/lib/dns/tests/gost_test.c index e2e953bdc20..2dda637d931 100644 --- a/lib/dns/tests/gost_test.c +++ b/lib/dns/tests/gost_test.c @@ -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; /*