National Institute of Standards and Technology
Package illustrating a test case

Test case 88602

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

Flaws

Test Suites

Documentation

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