CWE-687: Function Call With Incorrectly Specified Argument Value
Variant
Draft
Simple
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product calls a function, procedure, or routine, but the caller specifies an argument that contains the wrong value, which may lead to resultant weaknesses.
常见后果
影响范围: Other
技术影响: Quality Degradation
检测方法
方法: Manual Static Analysis
This might require an understanding of intended program behavior or design to determine whether the value is incorrect.
引入模式
| 阶段 | 说明 |
|---|---|
| Implementation | - |
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| CERT C Secure Coding | MEM04-C | Do not perform zero length allocations | - |
| Software Fault Patterns | SFP24 | Tainted input to command | - |