mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fix strlcpy call
This commit is contained in:
parent
0175effb00
commit
6cd6bf993f
@ -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));
|
||||
|
||||
strncpy(path_check, path, strlen(path_tolower));
|
||||
strlcpy(path_check, path, strlen(path_tolower) + 1);
|
||||
|
||||
valid_path = path_is_valid(path_check);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user