Category-189: 数值错误

ID: 189 Status: Draft

Summary

Weaknesses in this category are related to improper calculation or conversion of numbers.

Membership

ID NAME
CWE-129 对数组索引的验证不恰当
CWE-198 字节序使用不正确
CWE-681 数值类型间的不正确转换
CWE-682 数值计算不正确
CWE-839 未进行最小值检查的数值范围比较
CWE-1077 使用不正确的比较运算符比较浮点值

Taxonomy Mappings

Mapped Taxonomy Name Node ID Fit Mapped Node Name
SEI CERT Perl Coding Standard INT01-PL Use small integers when precise computation is required