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

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

Test Case IDDeprecated1585
Bad / Good / MixedBadBad test case
AuthorFortify Software
Associations
Good pair: 1586  
Replaced by: 149071  
Test suite: 6  45  47  
Added byJeff Meister
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2006-06-22
Descriptionmalloc\'d data is never freed and all pointers to the data are lost.
File(s)
Flaw

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

File Contains:
CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak') on line(s): 0, 40, 41