utils/main.c: LefRead() Call to function with fewer arguments than declared parameters
Looks like -1 is accepted as placeholder, maybe it should be the temporary->fn (filename mtime?). Copilot Autofix rejected: LefRead(temporary->fn, FALSE, NULL); related git blame utils/main.c:8e80644d(2022-01-22 13:30:11 -0500 2078) int lefTimestamp; /* If not -1, use the value pointed to8e80644d(2022-01-22 13:30:11 -0500 2884) int lefTimestamp; related commit: commit8e80644dd7Date: Sat Jan 22 13:30:11 2022 -0500 CodeQL: https://github.com/dlmiles/magic/security/code-scanning/28
This commit is contained in:
parent
49f4daa715
commit
3db35216b9
|
|
@ -1188,7 +1188,7 @@ mainInitFinal()
|
|||
break;
|
||||
#ifdef LEF_MODULE
|
||||
case FN_LEF_FILE:
|
||||
LefRead(temporary->fn, FALSE, FALSE);
|
||||
LefRead(temporary->fn, FALSE, FALSE, -1);
|
||||
break;
|
||||
case FN_DEF_FILE:
|
||||
DefRead(temporary->fn, FALSE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue