mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
Prevent NULL pointer dereference
This commit is contained in:
parent
1cbc847133
commit
147893caed
@ -162,7 +162,8 @@ static void print_buf_lines(file_list_t *list, char *buf,
|
||||
fill_pathname_join_noext(
|
||||
core_path,
|
||||
settings->path.libretro_info,
|
||||
extended ? core_pathname : line_start,
|
||||
(extended && !string_is_empty(core_pathname))
|
||||
? core_pathname : line_start,
|
||||
sizeof(core_path));
|
||||
path_remove_extension(core_path);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user