National Institute of Standards and Technology
Package illustrating a test case

Test case 88592

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: 03 Control flow: if(5==5) and if(5!=5)

Flaws

Test Suites

Documentation

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