commands/CmdLQ.c: Call to function with fewer arguments than declared parameters
No AI resolution. The NULL added is cdata which looks to be opaque callback user-defined-pointer, this is not used in the method printPropertiesFunc() as a possible 3rd argument. CodeQL: https://github.com/dlmiles/magic/security/code-scanning/157
This commit is contained in:
parent
88a1a9b166
commit
f47a173a49
|
|
@ -2324,7 +2324,7 @@ CmdDoProperty(def, cmd, argstart)
|
|||
if (locargc == 1)
|
||||
{
|
||||
/* print all properties and their values */
|
||||
DBPropEnum(def, printPropertiesFunc);
|
||||
DBPropEnum(def, printPropertiesFunc, NULL);
|
||||
}
|
||||
|
||||
else if (locargc == 2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue