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

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

Test Case IDCandidate149239
Bad / Good / MixedBadBad test case
AuthorNIST, Alexander Hoole, Aurelien Delaitre
Associations
Good pair: 149240  
Replacing: 149171  
Test suite: 100  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o use_after_free_@buffer-bad use_after_free_@buffer-bad.c
Submission date2015-06-19
DescriptionThe test case shows a use of an allocated memory after being freed with an extra allocation and free 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): 30