Deprecated test case
Description
CWE: 191 Integer Underflow
BadSource: getQueryStringServlet Parse id param out of the querystring without getParam
GoodSource: A hardcoded non-zero, non-min, non-max, even number
Sinks: subtract
GoodSink: Ensure there will not be an underflow before performing the subtraction
BadSink : Unchecked subtraction can lead to underflow
Flow Variant: 45 Data flow: data passed as a private class member variable from one function to another in the same class
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.