SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 636 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
1538042015-10-06CSource CodeCandidate This test case implements an file read of 128 characters which ...CWE-170: Improper Null Termination
Bad test case
1537992015-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
1537902015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-126: Buffer Over-read
Bad test case
1537742015-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
1537342015-10-06CSource CodeCandidate This test case implements stack allocated buffer which, under ...CWE-590: Free of Memory not on the Heap
Bad test case
1537152015-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
1537142015-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
1537132015-10-06CSource CodeCandidate This test case implements an file read of 128 characters which ...CWE-170: Improper Null Termination
Bad test case
1537082015-10-06CSource CodeCandidate This test case creates a function pointer that takes 2 const ...CWE-822: Untrusted Pointer Dereference
Bad test case
1537072015-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
1537052015-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
1536762015-10-06CSource CodeCandidate This test case implements an improper array index validation ...CWE-129: Improper Validation of Array Index
Bad test case
1536622015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1536482015-10-06CSource CodeCandidate This test case implements an improper array index validation ...CWE-129: Improper Validation of Array Index
Bad test case
1536322015-10-06CSource CodeCandidate This test case implements an improper array index validation ...CWE-129: Improper Validation of Array Index
Bad test case
1536272015-10-06CSource CodeCandidate This test case implements a buffer that is used after it has ...CWE-416: Use After Free
Bad test case
1536262015-10-06CSource CodeCandidate This test case implements an sprintf that uses untrusted user ...CWE-134: Uncontrolled Format String
Bad test case
1536222015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1536102015-10-06CSource CodeCandidate This test case implements an file read of 16 characters which ...CWE-170: Improper Null Termination
Bad test case
1536052015-10-06CSource CodeCandidate This test case implements an file read of 128 characters which ...CWE-170: Improper Null Termination
Bad test case
1 2 3 4 5 ... >> Last
Total of selected test cases: 636
Total pages: 32