Deprecated test case
Description
CWE: 590 Free of Invalid Pointer Not on the Heap
BadSource: alloca Data buffer is allocated on the stack with alloca()
GoodSource: Allocate memory on the heap
Sinks:
BadSink : Print then free data
Flow Variant: 31 Data flow using a copy of data within the same function
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.