CWE-628

Function Call with Incorrectly Specified Arguments

The product calls a function, procedure, or routine with arguments that are not correctly specified, leading to always-incorrect behavior and resultant weaknesses.

Mitigation

Phase: Build and Compilation

Description:

  • Once found, these issues are easy to fix. Use code inspection tools and relevant compiler features to identify potential violations. Pay special attention to code that is not likely to be exercised heavily during QA.
Mitigation

Phase: Architecture and Design

Description:

  • Make sure your API's are stable before you use them in production code.

No CAPEC attack patterns related to this CWE.

Back to CWE stats page