Deprecated test case
Description
CWE: 415 Double Free
BadSource: Allocate data using new and Deallocae data using delete
GoodSource: Allocate data using new
Sinks:
GoodSink: do nothing
BadSink : Deallocate data using delete
Flow Variant: 11 Control flow: if(global_returns_t()) and if(global_returns_f())
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.