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

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

Test Case IDDeprecated1563
Bad / Good / MixedBadBad test case
AuthorFortify Software
Associations
Good pair: 1564  
Replaced by: 149065  
Test suite: 6  45  47  
Added byJeff Meister
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2006-06-22
Descriptiongets is never safe for untrusted input due to lack of buffer length checks.
File(s)
Flaw

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

File Contains:
CWE-121: Stack-based Buffer Overflow on line(s): 0, 37