diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index d2ee6e7a33..9a5e180141 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -592,6 +592,9 @@ static xmb_node_t* xmb_get_userdata_from_core(xmb_handle_t *xmb, int i) if (!info_list) return NULL; + if (!info_list->count) + return NULL; + info = (core_info_t*)&info_list->list[i]; if (!info)