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

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

Test Case IDCandidate1536
Bad / Good / MixedBadBad test case
AuthorDRDC
Associations
Test suite: 62  
Added byJeff Meister
LanguageC++
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2006-06-09
DescriptionUse of gets(), strcpy() and similar functions, where there is no way to limit the size of the read string (no destination size parameter).
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, .