SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #104: ITC-Benchmarks

Results: 100 test cases in 5 pages. Pages: 1 2 3 4 5
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1992902016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: DereferencingaCWE-476: NULL Pointer Dereference
CWE-561: Dead Code
Good test case
1992892016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: DereferencingaCWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-822: Untrusted Pointer Dereference
CWE-824: Access of Uninitialized Pointer
Bad test case
1992882016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Non void function ...CWE-398: Indicator of Poor Code Quality
Good test case
1992872016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Non void function ...CWE-398: Indicator of Poor Code Quality
Bad test case
1992862016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-197: Numeric Truncation Error
CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
Good test case
1992852016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-190: Integer Overflow or Wraparound
CWE-197: Numeric Truncation Error
CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-789: Uncontrolled Memory Allocation
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1992842016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-121: Stack-based Buffer Overflow
CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-789: Uncontrolled Memory Allocation
CWE-825: Expired Pointer Dereference
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Good test case
1992832016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-121: Stack-based Buffer Overflow
CWE-190: Integer Overflow or Wraparound
CWE-197: Numeric Truncation Error
CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-789: Uncontrolled Memory Allocation
CWE-825: Expired Pointer Dereference
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1992822016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Locked but ...CWE-667: Improper Locking
CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Good test case
1992812016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Locked but ...CWE-667: Improper Locking
CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Bad test case
1992802016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Live lock. ...CWE-764: Multiple Locks of a Critical Resource
Good test case
1992792016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Live lock. . ...CWE-190: Integer Overflow or Wraparound
CWE-764: Multiple Locks of a Critical Resource
Bad test case
1992782016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Assign ...CWE-131: Incorrect Calculation of Buffer Size
Good test case
1992772016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Assign ...CWE-131: Incorrect Calculation of Buffer Size
Bad test case
1992762016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-416: Use After Free
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
Good test case
1992752016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-416: Use After Free
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-824: Access of Uninitialized Pointer
Bad test case
1992742016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Bad extern type for ...CWE-476: NULL Pointer Dereference
CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Good test case
1992732016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Bad extern type for ...CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Bad test case
1992722016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Useless assignment. ...CWE-563: Assignment to Variable without Use ('Unused Variable')
Good test case
1992712016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Useless assignment. CWE-563: Assignment to Variable without Use ('Unused Variable')
Bad test case
1 2 3 4 5
Total of selected test cases: 100
Total pages: 5