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

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

Test Case IDCandidate7
Bad / Good / MixedBadBad test case
AuthorSecureSoftware
Associations
Added bySecureSoftware
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2005-10-21
DescriptionA buffer overflow condition exists when a program attempts to put more data in a buffer than it can hold or when a program attempts to put data in a memory area past a buffer. In this case, a buffer is a sequential section of memory allocated to contain anything from a character string to an array of integers. (from TCCLASP-5_2_1_10)
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer on line(s): 3

					
				

Contact: :: Created: Jan. 2006 :: Updated: Nov. 2017 :: Version: 4.9