Description
Defect Type: Resource management defects
Defect Sub-type: Free non dynamically allocated memory
Description: Defect Free Code to identify false positives while freeing non dynamically allocated memory
The test case contains coincidental weaknesses along with intended ones as follows for file free_nondynamic_allocated_memory.c:
* line(s): 23,35,61,114,127,140,169,187 CWE-561
* line(s): 81,208 CWE-476
Flaws
Test Suites
Have any comments on this test case? Please, send us an email.