Deprecated test case
Description
CWE: 469 Use Of Pointer Subtraction To Determine Size
Sinks: wrong_order_print
GoodSink: Subtract pointers correctly and print data
BadSink : Beginning and end pointers are switched leading to an incorrect index when printing
Flow Variant: 14 Control flow: if(global_five==5) and if(global_five!=5)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.