SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 638 test cases in 32 pages. Pages: 1 2 3 4 5 ... >> Last
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1538232015-10-06CSource CodeCandidate This test case implements an incorrect size check when reading ...CWE-127: Buffer Under-read
Bad test case
1538222015-10-06CSource CodeCandidate This test case allocates a struct on the stack, with a ...CWE-785: Use of Path Manipulation Function without Maximum-sized Buffer
Bad test case
1538162015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-126: Buffer Over-read
Bad test case
1538132015-10-06CSource CodeCandidate This test case creates a buffer on the stack of 1024 bytes and a ...CWE-806: Buffer Access Using Size of Source Buffer
Bad test case
1538082015-10-06CSource CodeCandidate This test case implements an file read of 128 characters which ...CWE-170: Improper Null Termination
Bad test case
1538022015-10-06CSource CodeCandidate This test case takes a buffer as input and copies it into ...CWE-805: Buffer Access with Incorrect Length Value
Bad test case
1537982015-10-06CSource CodeCandidate This test case creates a struct on the stack that contains a ...CWE-824: Access of Uninitialized Pointer
Bad test case
1537832015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1537652015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1537562015-10-06CSource CodeCandidate This test case takes a buffer as input and copies it into ...CWE-805: Buffer Access with Incorrect Length Value
Bad test case
1537552015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1537542015-10-06CSource CodeCandidate This test case implements an sprintf that uses untrusted user ...CWE-134: Uncontrolled Format String
Bad test case
1537442015-10-06CSource CodeCandidate This test case implements an unchecked write into a heap ...CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Bad test case
1537362015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1537062015-10-06CSource CodeCandidate This test case takes a buffer as input and copies it into ...CWE-805: Buffer Access with Incorrect Length Value
Bad test case
1537022015-10-06CSource CodeCandidate This test case allocates a struct on the heap that contains an ...CWE-805: Buffer Access with Incorrect Length Value
Bad test case
1536992015-10-06CSource CodeCandidate This test case implements a heap allocated buffer that ...CWE-415: Double Free
Bad test case
1536962015-10-06CSource CodeCandidate This test case implements an unchecked write into a buffer that ...CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Bad test case
1536732015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a ...CWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1536682015-10-06CSource CodeCandidate This test case implements an incorrect size check when reading ...CWE-127: Buffer Under-read
Bad test case
1 2 3 4 5 ... >> Last
Total of selected test cases: 638
Total pages: 32