From: Alan Cox Date: Thu, 17 Mar 2016 12:47:43 +0000 (+0000) Subject: advent: fix crash with long texts due to undersized buffers X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e2585a0bb715826e21cfc3de9a4ba1a4c28e89e6;p=FUZIX.git advent: fix crash with long texts due to undersized buffers --- 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;