National Institute of Standards and Technology
Package illustrating a test case

Test case 88600

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: 11 Control flow: if(globalReturnsTrue()) and if(globalReturnsFalse())

Flaws

Test Suites

Documentation

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