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

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

Test Case IDDeprecated149227
Bad / Good / MixedBadBad test case
AuthorNIST, Romain Gaucher, Alexander Hoole, Aurelien Delaitre
Associations
Good pair: 149228  
Replaced by: 149247  
Replacing: 1911  
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_@alias-bad use_after_free_@alias-bad.c
Submission date2015-03-23
DescriptionThe test case shows a use of an allocated memory after being freed with an address alias level code 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): 29