From: Ralph Corderoy Date: Mon, 17 Jul 2017 11:58:38 +0000 (+0100) Subject: Bump up size of two static char[] so gcc knows they won't overflow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a3724ed395f47e90d887c6b172ef20b9441e5ca9?hp=0483d6ce12d75f267a9e8b6cd16280ef1f4f2e2a Bump up size of two static char[] so gcc knows they won't overflow. --- 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);