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

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

Test Case IDCandidate149222
Bad / Good / MixedGoodGood test case
AuthorNIST, Romain Gaucher, Alexander Hoole, Aurelien Delaitre
Associations
Bad pair: 149221  
Replacing: 2269  
Test suite: 101  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o use_after_free_scope-good use_after_free_scope-good.c
Submission date2015-03-23
DescriptionThe test case shows protection against the use of an allocated memory after being freed with scope complexity.
File(s)
Flaw

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

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