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

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

Test Case IDCandidate1527
Bad / Good / MixedBadBad test case
AuthorDRDC
Associations
Test suite: 17  62  
Added byJeff Meister
LanguageC++
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2006-06-09
DescriptionA C++ array is not deleted correctly, which could lead to memory leaks.
These test cases were graciously provided by Frederic Michaud of Defense Research & Development Canada - Valcartier.
Please see test case ID 000-001-518 for an executable suite of all the DRDC test cases.
File(s)
Flaw

There are no comments
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