mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Revert "(Menu) change strncpy to strlcpy"
This reverts commit ba676239619581076460d387fbec33cd94bb05de.
This commit is contained in:
parent
f8521a5580
commit
0175effb00
@ -993,7 +993,7 @@ static bool menu_content_playlist_load(playlist_t *playlist, size_t idx)
|
||||
path_check = (char *)
|
||||
calloc(strlen(path_tolower) + 1, sizeof(char));
|
||||
|
||||
strlcpy(path_check, path, strlen(path_tolower));
|
||||
strncpy(path_check, path, strlen(path_tolower));
|
||||
|
||||
valid_path = path_is_valid(path_check);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user