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
1992702016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Improper ...CWE-483: Incorrect Block Delimitation
Good test case
1992692016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Improper ...CWE-483: Incorrect Block Delimitation
Bad test case
1992682016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Return value ...CWE-252: Unchecked Return Value
CWE-561: Dead Code
CWE-562: Return of Stack Variable Address
CWE-672: Operation on a Resource after Expiration or Release
Good test case
1992672016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Return value ...CWE-252: Unchecked Return Value
CWE-561: Dead Code
CWE-562: Return of Stack Variable Address
CWE-672: Operation on a Resource after Expiration or Release
Bad test case
1992662016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: Bad cast of afCWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-465: Pointer Issues
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-704: Incorrect Type Conversion or Cast
Good test case
1992652016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: Bad cast of afCWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-465: Pointer Issues
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-704: Incorrect Type Conversion or Cast
Bad test case
1992642016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: Free NULL ...CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-465: Pointer Issues
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
Good test case
1992632016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: Free NULL ...CWE-465: Pointer Issues
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-587: Assignment of a Fixed Address to a Pointer
CWE-591: Sensitive Data Storage in Improperly Locked Memory
Bad test case
1992622016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: Free ...CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-590: Free of Memory not on the Heap
Good test case
1992612016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: Free ...CWE-476: NULL Pointer Dereference
CWE-590: Free of Memory not on the Heap
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1992602016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Unintentional end ...CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Good test case
1992592016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Unintentional end ...CWE-190: Integer Overflow or Wraparound
CWE-561: Dead Code
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1992582016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Double ...CWE-561: Dead Code
CWE-765: Multiple Unlocks of a Critical Resource
Good test case
1992572016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Double release. .TCWE-561: Dead Code
CWE-765: Multiple Unlocks of a Critical Resource
Bad test case
1992562016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Double lock. ...CWE-667: Improper Locking
Good test case
1992552016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Double lock. CWE-667: Improper Locking
Bad test case
1992542016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-415: Double Free
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
Good test case
1992532016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-415: Double Free
CWE-476: NULL Pointer Dereference
Bad test case
1992522016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Deletion ...CWE-463: Deletion of Data Structure Sentinel
CWE-476: NULL Pointer Dereference
Good test case
1992512016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Deletion ...CWE-463: Deletion of Data Structure Sentinel
CWE-476: NULL Pointer Dereference
Bad test case
1 2 3 4 5
Total of selected test cases: 100
Total pages: 5