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

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

Test Case IDDeprecated149171
Bad / Good / MixedBadBad test case
AuthorNIST, Alexander Hoole, Aurelien Delaitre
Associations
Good pair: 149172  
Replaced by: 149239  
Replacing: 1913  
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-03-23
DescriptionThe test case shows a use of an allocated memory after being freed with an extra allocation and free complexity.
File(s)
Flaw

There is 1 comment
Have any comments on this test case? Please, .

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