Deprecated test case
Description
CWE: 197 Numeric Truncation Error
BadSource: rand Set data to result of rand(), which could be negative
GoodSource: Less than CHAR_MAX
Sink:
BadSink : Convert data to a char
Flow Variant: 07 Control flow: if(static_five==5) and if(static_five!=5)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.