SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 380 test cases in 19 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
1538202015-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
1538112015-10-06CSource CodeCandidate This test case creates a function pointer that takes 2 const ...CWE-822: Untrusted Pointer Dereference
Bad test case
1538062015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1537892015-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
1537852015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-126: Buffer Over-read
Bad test case
1537842015-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
1537772015-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
1537612015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1537502015-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
1537472015-10-06CSource CodeCandidate This test case implements an file read of 128 characters which ...CWE-170: Improper Null Termination
Bad test case
1537352015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-126: Buffer Over-read
Bad test case
1537302015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1537272015-10-06CSource CodeCandidate This test case creates a struct that has a message_type field ...CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Bad test case
1537252015-10-06CSource CodeCandidate This test case allocates a buffer on the heap, copies the input ...CWE-761: Free of Pointer not at Start of Buffer
Bad test case
1537232015-10-06CSource CodeCandidate This test case allocates a buffer on the stack, with a canary ...CWE-785: Use of Path Manipulation Function without Maximum-sized Buffer
Bad test case
1537222015-10-06CSource CodeCandidate This test case implements an unchecked write into a buffer is ...CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Bad test case
1537192015-10-06CSource CodeCandidate This test case implements an file read of 16 characters which ...CWE-170: Improper Null Termination
Bad test case
1537172015-10-06CSource CodeCandidate This test case implements an improper array index validation ...CWE-129: Improper Validation of Array Index
Bad test case
1537162015-10-06CSource CodeCandidate This test case implements an unchecked write into a stack ...CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Bad test case
1537122015-10-06CSource CodeCandidate This test case implements an sprintf that uses untrusted user ...CWE-134: Uncontrolled Format String
Bad test case
1 2 3 4 5 ... >> Last
Total of selected test cases: 380
Total pages: 19