Deprecated test case
Description
CWE: 190 Integer Overflow
BadSource: rand Set data to result of rand(), which may be zero
GoodSource: Small, non-zero
Sinks: multiply
GoodSink: Ensure there is no overflow before performing the multiplication
BadSink : Multiply data by 2
Flow Variant: 17 Control flow: for loops
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.