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 6 ... >> Last
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1537322015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1537292015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1537212015-10-06CSource CodeCandidate This test case creates a function pointer that takes 2 const ...CWE-822: Untrusted Pointer Dereference
Bad test case
1536972015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1536932015-10-06CSource CodeCandidate This test case implements an improper array index validation ...CWE-129: Improper Validation of Array Index
Bad test case
1536872015-10-06CSource CodeCandidate This test case implements stack allocated buffer which, under ...CWE-590: Free of Memory not on the Heap
Bad test case
1536862015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-126: Buffer Over-read
Bad test case
1536852015-10-06CSource CodeCandidate This test case implements stack allocated buffer which, under ...CWE-590: Free of Memory not on the Heap
Bad test case
1536812015-10-06CSource CodeCandidate This test case implements an file read of 16 characters which ...CWE-170: Improper Null Termination
Bad test case
1536802015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1536772015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1536712015-10-06CSource CodeCandidate This test case checks if the taint source is less than 20 ...CWE-785: Use of Path Manipulation Function without Maximum-sized Buffer
Bad test case
1536562015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1536552015-10-06CSource CodeCandidate This test case implements an sprintf that uses untrusted user ...CWE-134: Uncontrolled Format String
Bad test case
1536312015-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
1536282015-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
1536242015-10-06CSource CodeCandidate This test case creates a struct on the stack that contains a ...CWE-824: Access of Uninitialized Pointer
Bad test case
1536202015-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
1536132015-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
1536072015-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
<< 1 2 3 4 5 6 ... >> Last
Total of selected test cases: 380
Total pages: 19