From a3724ed395f47e90d887c6b172ef20b9441e5ca9 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 17 Jul 2017 12:58:38 +0100 Subject: [PATCH] Bump up size of two static char[] so gcc knows they won't overflow. --- sbr/dtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbr/dtime.c b/sbr/dtime.c index 481cfe6e..d52662bc 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -178,7 +178,7 @@ dgmtime (time_t *clock) char * dctime (struct tws *tw) { - static char buffer[26]; + static char buffer[64]; if (!tw) return NULL; @@ -288,7 +288,7 @@ char * dtimezone (int offset, int flags) { int hours, mins; - static char buffer[10]; + static char buffer[64]; if (offset < 0) { mins = -((-offset) % 60); -- 2.56.0