Deprecated test case
Description
CWE: 469 Use Of Pointer Subtraction To Determine Size
Sinks: memcpy
GoodSink: using correct pointer subtraction to determine length in memcpy()
BadSink : Beginning and end pointers are switched leading to an incorrect length in memcpy()
Flow Variant: 16 Control flow: while(1) and while(0)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.