Deprecated test case
Description
CWE: 190 Integer Overflow
BadSource: fscanf Read data from the console using fscanf()
GoodSource: Small, non-zero
Sinks: add
GoodSink: Ensure there is no overflow before performing the addition
BadSink : Add 1 to data
Flow Variant: 06 Control flow: if(static_const_five==5) and if(static_const_five!=5)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.