SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #1782

Back to the previous page... Back to the previous page

Test Case IDDeprecated1782
Bad / Good / MixedBadBad test case
AuthorCLASP/SecureSoftware
Associations
Replaced by: 149091  
Replacing: 82  
Test suite: 47  45  
Added byMichael Koo
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2007-01-08
DescriptionIn C and C++, one may often accidentally refer to the wrong memory due to the semantics of when math operations are implicitly scaled. (from TCCLASP-5_6_9_10)
File(s)
Flaw

There are 2 comments
Have any comments on this test case? Please, .

File Contains:
CWE-468: Incorrect Pointer Scaling on line(s): 5