mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
Copy buf inside entry first
This commit is contained in:
parent
0006849ed5
commit
6e59a2cce1
@ -166,6 +166,8 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
||||
|
||||
entry[0] = '\0';
|
||||
|
||||
strlcpy(entry, buf, sizeof(entry));
|
||||
|
||||
path_remove_extension(entry);
|
||||
|
||||
if ( !string_is_empty(entry) &&
|
||||
|
Loading…
Reference in New Issue
Block a user