Deprecated test case
Description
CWE: 190 Integer Overflow
BadSource: fgets Read data from the console using fgets()
GoodSource: Small, non-zero
Sinks: square
GoodSink: Ensure there is no overflow before performing the square root
BadSink : Square data
Flow Variant: 41 Data flow: data passed as an argument from one function to another in the same source file
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.