From 0b01fb20db0102d045a0daba24453ea6f37c8a96 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 7 Mar 2023 17:25:11 +0100 Subject: [PATCH] make buffer large enough for any argument value --- modules/libcom/src/flex/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libcom/src/flex/misc.c b/modules/libcom/src/flex/misc.c index a1c94667a..7b79fca3b 100644 --- a/modules/libcom/src/flex/misc.c +++ b/modules/libcom/src/flex/misc.c @@ -663,7 +663,7 @@ int otoi(Char *str) char *readable_form(int c) { - static char rform[10]; + static char rform[16]; if ( (c >= 0 && c < 32) || c >= 127 ) {