mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 08:33:40 +00:00
Prevent strlcpy if menu_path is NULL
This commit is contained in:
parent
07d65c34ad
commit
d8f0df794d
@ -412,6 +412,7 @@ static int rarch_defer_core_wrapper(size_t idx, size_t entry_idx,
|
||||
|
||||
menu_entries_get_last_stack(&menu_path, &menu_label, NULL, NULL);
|
||||
|
||||
if (!string_is_empty(menu_path))
|
||||
strlcpy(menu_path_new, menu_path, sizeof(menu_path_new));
|
||||
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user