mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
core_info.c - use strlcpy
This commit is contained in:
parent
721e9ec083
commit
121fb3b737
1 changed files with 1 additions and 1 deletions
|
@ -918,7 +918,7 @@ bool core_info_get_display_name(const char *path, char *s, size_t len)
|
|||
|
||||
if (config_get_string(conf, "display_name", &tmp))
|
||||
{
|
||||
snprintf(s, len, "%s", tmp);
|
||||
strlcpy(s, tmp, len);
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue