From 82de482b9fd83af53e11a4b21f45ca066bdca497 Mon Sep 17 00:00:00 2001 From: rz5 Date: Mon, 6 Nov 2017 01:06:13 +0000 Subject: [PATCH] (xmb) Fixed array index out of bounds Caught by asan: menu/drivers/xmb.c:3491:16: runtime error: index 8 out of bounds for type 'uint8_t [8]' menu/drivers/xmb.c:1149:23: runtime error: index 8 out of bounds for type 'uint8_t [8]' --- menu/drivers/xmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 3cdfc89025..f9192a7604 100755 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -177,7 +177,7 @@ typedef struct xmb_handle bool mouse_show; uint8_t system_tab_end; - uint8_t tabs[8]; + uint8_t tabs[16]; int depth; int old_depth;