mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 08:59:58 +00:00
(Menu) change strncpy to strlcpy
This commit is contained in:
parent
75a388cd67
commit
ba67623961
@ -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));
|
||||
|
||||
valid_path = path_is_valid(path_check);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user