(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]'
This commit is contained in:
rz5 2017-11-06 01:06:13 +00:00 committed by GitHub
parent 1771b11a39
commit 82de482b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;