From e5eca6eebb9e514b2a2022c53196b7a66b6aaabe Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Thu, 14 Sep 2017 01:34:48 +0530 Subject: [PATCH] Fix output string size in GOST unittest --- lib/dns/tests/gost_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/tests/gost_test.c b/lib/dns/tests/gost_test.c index e2e953bdc2..2dda637d93 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; /* -- GitLab