National Institute of Standards and Technology
Package illustrating a test case

Test case 88596

Description

CWE: 196 Unsigned To Signed Conversion Error
Sinks:
GoodSink: Dont allow very large values of intUnsigned
BadSink : Convert a possibly large unsigned int (larger than INT_MAX) to an int
Flow Variant: 07 Control flow: if(staticFive==5) and if(staticFive!=5)

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.