SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #149221

Back to the previous page... Back to the previous page

Test Case IDCandidate149221
Bad / Good / MixedBadBad test case
AuthorNIST, Romain Gaucher, Alexander Hoole, Aurelien Delaitre
Good pair: 149222  
Replacing: 2201  
Test suite: 100  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o use_after_free_scope-bad use_after_free_scope-bad.c
Submission date2015-03-23
DescriptionThe test case shows a use of an allocated memory after being freed with scope complexity.

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-416: Use After Free on line(s): 33