CWE-686Function Call With Incorrect Argument Type

PUBLISHEDweakness record
released 2008-04-11 · last modified 2025-12-11

Metadata

CWE ID:
CWE-686
摘要:
Variant
结构:
Simple
状态:
Draft
发布日期:
2008-04-11
更新日期:
2025-12-11

名称

Function Call With Incorrect Argument Type

描述

The product calls a function, procedure, or routine, but the caller specifies an argument that is the wrong data type, which may lead to resultant weaknesses.

This weakness is most likely to occur in loosely typed languages, or in strongly typed languages in which the types of variable arguments cannot be enforced at compilation time, or where there is implicit casting.

常见后果

范围:
Other
影响:
Quality Degradation

相关 CWE