SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 637 test cases in 32 pages. Pages: << 1 2 3 4 5 6 7 ... >> Last
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1534902015-10-06CSource CodeCandidate This test case creates a struct on the stack that contains a ...CWE-824: Access of Uninitialized Pointer
Bad test case
1534832015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-126: Buffer Over-read
Bad test case
1534522015-10-06CSource CodeCandidate This test case implements an sprintf that uses untrusted user ...CWE-134: Uncontrolled Format String
Bad test case
1534442015-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
1534392015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1534312015-10-06CSource CodeCandidate This test case implements an unchecked read from a buffer. The ...CWE-127: Buffer Under-read
Bad test case
1534112015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a ...CWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1533862015-10-06CSource CodeCandidate This test case creates two buffers on the stack, one of 64 bytes andoCWE-806: Buffer Access Using Size of Source Buffer
Bad test case
1533712015-10-06CSource CodeCandidate This test case implements an improper array index validation ...CWE-129: Improper Validation of Array Index
Bad test case
1533652015-10-06CSource CodeCandidate This test case implements an file read of 16 characters which ...CWE-170: Improper Null Termination
Bad test case
1533542015-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
1533402015-10-06CSource CodeCandidate This test case implements a heap allocated buffer that ...CWE-415: Double Free
Bad test case
1533362015-10-06CSource CodeCandidate This test case creates a struct on the stack that contains a ...CWE-824: Access of Uninitialized Pointer
Bad test case
1533262015-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
1533082015-10-06CSource CodeCandidate This test case implements an file read of 128 characters which ...CWE-170: Improper Null Termination
Bad test case
1532852015-10-06CSource CodeCandidate This test case implements a buffer that is used after it has ...CWE-416: Use After Free
Bad test case
1532662015-10-06CSource CodeCandidate This test case implements stack allocated buffer which, under ...CWE-590: Free of Memory not on the Heap
Bad test case
1532632015-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
1532352015-10-06CSource CodeCandidate This test case implements an incorrectly checked write into a buffertCWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1532302015-10-06CSource CodeCandidate This test case creates a function pointer that takes 2 const ...CWE-822: Untrusted Pointer Dereference
Bad test case
<< 1 2 3 4 5 6 7 ... >> Last
Total of selected test cases: 637
Total pages: 32