mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 10:34:45 +08:00
warning gcc10.2 (@mwalker33)
This commit is contained in:
parent
d60b9859bf
commit
539f33a3c9
1 changed files with 1 additions and 0 deletions
|
@ -1482,6 +1482,7 @@ static int filelist(const char *path, const char *ext, uint8_t last, bool tentat
|
||||||
|
|
||||||
char tmp_fullpath[1024] = {0};
|
char tmp_fullpath[1024] = {0};
|
||||||
strncat(tmp_fullpath, path, sizeof(tmp_fullpath) - 1);
|
strncat(tmp_fullpath, path, sizeof(tmp_fullpath) - 1);
|
||||||
|
tmp_fullpath[1023] = 0x00;
|
||||||
strncat(tmp_fullpath, namelist[i]->d_name, strlen(tmp_fullpath) - 1);
|
strncat(tmp_fullpath, namelist[i]->d_name, strlen(tmp_fullpath) - 1);
|
||||||
|
|
||||||
if (is_directory(tmp_fullpath)) {
|
if (is_directory(tmp_fullpath)) {
|
||||||
|
|
Loading…
Reference in a new issue