CWE-685: Function Call With Incorrect Number of Arguments
ID
CWE-685
Abstraction
Variant
Structure
Simple
Status
Draft
The product calls a function, procedure, or routine, but the caller specifies too many arguments, or too few arguments, which may lead to undefined behavior and resultant weaknesses.
Modes of Introduction
Phase | Note |
---|---|
Implementation | This problem typically occurs when the programmer makes a typo, or copy and paste errors. |
Applicable Platforms
Type | Class | Name | Prevalence |
---|---|---|---|
Language | C | ||
Language | Perl |
Loading...