fix some CodeQL warnings
This commit is contained in:
1 parent
8082cbbdcb
commit
623169fe02
15 files changed
+25
-27
No files matched your search
@@ -1645,7 +1645,7 @@ static int filelist(const char *path, const char *ext, uint8_t last, bool tentat
|
||||
|
||||
PrintAndLogEx(NORMAL, "%s── "_GREEN_("%s"), last ? "└" : "├", &path[strip]);
|
||||
|
||||
for (uint16_t i = 0; i < n; i++) {
|
||||
for (int i = 0; i < n; i++) {
|
||||
|
||||
char tmp_fullpath[1024] = {0};
|
||||
strncat(tmp_fullpath, path, sizeof(tmp_fullpath) - 1);
|
||||
|
||||
Reference in new issue
Block a user