Function Call with Incorrectly Specified Arguments
CWE-628 · Base · Draft
The product calls a function, procedure, or routine with arguments that are not correctly specified, leading to always-incorrect behavior and resultant weaknesses.
Extended description
There are multiple ways in which this weakness can be introduced, including: the wrong variable or reference.
an incorrect number of arguments.
incorrect order of arguments.
wrong type of arguments.
or wrong value.