From 186666d3d190d9efbd71f46bdbbdd7280c7680d1 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 7 Jul 2011 10:43:52 +1000 Subject: [PATCH] Prevent buffer overflow. --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 2ea85c98..913ebe4d 100644 --- a/main.c +++ b/main.c @@ -156,8 +156,8 @@ static int accepted, rejected; int hw_errors; static int total_queued; static unsigned int getwork_requested = 0; -static char current_block[36]; -static char blank[36]; +static char current_block[37]; +static char blank[37]; static void applog_and_exit(const char *fmt, ...) {