From 6205dfd0ff0c67cca22ce90750b8a04c2e3949dc Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 28 Apr 2017 18:29:22 +1000 Subject: [PATCH] 2nd attempt :) --- www_msgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www_msgs.c b/www_msgs.c index e305fb4..df55884 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -82,7 +82,7 @@ static char *www_sanitize(char *inp) { } result = (char *)malloc(len + 1); - memset(result, 0, len); + memset(result, 0, len + 1); len = 0; for (i=0;i