mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
Fix strlcat calling bug.
This commit is contained in:
parent
8b09314aa3
commit
98ed53f17d
@ -514,7 +514,7 @@ void fill_pathname_join(char *out_path, const char *dir, const char *path, size_
|
||||
if (dir_len)
|
||||
{
|
||||
if (out_path[dir_len - 1] != '/' && out_path[dir_len - 1] != '\\')
|
||||
rarch_assert(strlcat(out_path, join_str, sizeof(out_path)));
|
||||
rarch_assert(strlcat(out_path, join_str, size));
|
||||
}
|
||||
|
||||
rarch_assert(strlcat(out_path, path, size) < size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user