National Institute of Standards and Technology
Package illustrating a test case

Test case 88593

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: 04 Control flow: if(STATIC_CONST_TRUE) and if(STATIC_CONST_FALSE)

Flaws

Test Suites

Documentation

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