From e2585a0bb715826e21cfc3de9a4ba1a4c28e89e6 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 17 Mar 2016 12:47:43 +0000 Subject: [PATCH] advent: fix crash with long texts due to undersized buffers --- Applications/cave/database.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/cave/database.c b/Applications/cave/database.c index bbb8551d..e095830b 100644 --- a/Applications/cave/database.c +++ b/Applications/cave/database.c @@ -3,7 +3,7 @@ #include "advent.h" static void DisplayText(uint16_t * tab); -static char db_buf[257]; +static char db_buf[513]; static struct trav db_trav[16]; /* Trav for last location fetched */ static uint8_t db_ntrav; static int db_lastloc; -- 2.34.1