mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-03 02:04:01 +00:00
cannot assume the buffer size here.
This commit is contained in:
parent
a04b54006d
commit
ad7cb85fcc
@ -124,8 +124,7 @@ static int parse_dir_entry(const char *name, char *file_path,
|
||||
if (!include_dirs && is_dir)
|
||||
return 1;
|
||||
|
||||
if ((name[0] == '.' && name[1] == '\0') ||
|
||||
(name[0] == '.' && name[1] == '.' && name[2] == '\0'))
|
||||
if (string_is_equal(name, ".") || string_is_equal(name, ".."))
|
||||
return 1;
|
||||
|
||||
if (!is_dir && ext_list &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user