From d1453cf7e6d5d6758cc5d72c6d3af7d37156bf72 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 5 Apr 2014 22:05:07 +0300 Subject: [PATCH] fix a buffer overflow --- menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.c b/menu.c index 470ca3d..2447bce 100644 --- a/menu.c +++ b/menu.c @@ -252,7 +252,7 @@ void menu_init_base(void) return; // generate default 8x10 font from fontdata8x8 - for (c = 0, fd = menu_font_data; c < 256; c++) + for (c = 0, fd = menu_font_data; c < 128; c++) { for (l = 0; l < 8; l++) { -- 2.39.5