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

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

Test Case IDCandidate1306
Bad / Good / MixedGoodGood test case
AuthorMIT
Associations
Bad pair: 1305  
Test suite: 88  
Added byMIT
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2006-02-09
Descriptionprescan() overflow: CA-2003-12 Patched version. From MIT benchmarks (models/sendmail/s5)

The buffer overflow results from an unintended type cast from a signed character to a signed integer.

Patched file: prescan-overflow-ok.c
Patched line number: 404, 431, 535
File(s)
Flaw

There is 1 comment
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): 0