Copy buf inside entry first

This commit is contained in:
twinaphex 2017-01-24 16:56:22 +01:00
parent 0006849ed5
commit 6e59a2cce1

View File

@ -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) &&