Function Call With Incorrect Variable or Reference as Argument
CWE-688 · Variant · Draft
The product calls a function, procedure, or routine, but the caller specifies the wrong variable or reference as one of the arguments, which may lead to undefined behavior and resultant weaknesses.