mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
(XMB) Fix buffer overflow
It was introduced by 3df4101
. MENU_ENTRIES_CTL_START_GET and
MENU_ENTRIES_CTL_START_GET access size_t-sized data, but an
unsigned was passed.
This commit is contained in:
parent
d76d857166
commit
f6421f9988
@ -1535,8 +1535,8 @@ static void xmb_draw_cursor(xmb_handle_t *xmb,
|
||||
static void xmb_render(void *data)
|
||||
{
|
||||
float delta_time, dt;
|
||||
size_t selection;
|
||||
unsigned i, end, height = 0;
|
||||
size_t i, selection;
|
||||
unsigned end, height = 0;
|
||||
settings_t *settings = config_get_ptr();
|
||||
xmb_handle_t *xmb = (xmb_handle_t*)data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user