SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #106: Klocwork test suite

Results: 41 test cases in 3 pages. Pages: 1 2 3
Go to page:

Select Test Case ID(down) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
14432006-02-17CSource CodeCandidate Pointer to allocated memory is not returned in function foo2() ...None givenBad test case
14442006-02-17CSource CodeCandidate Attempted free of memory which has not been allocated.None givenBad test case
14452006-02-17CSource CodeCandidate Attempt to free memory which has not been allocated.None givenBad test case
14462006-02-17CSource CodeDeprecated Attempted "double free" of allocated memory.CWE-415: Double Free
Bad test case
14472006-02-17CSource CodeCandidate Attempted free of unallocated memory, with control flow.None givenBad test case
14482006-02-17C++Source CodeCandidate Memory allocated via new() constructor is deallocated via ...None givenGood test case
14492006-02-21CSource CodeCandidate An integer value is incorreclly assigned using a memory address thatwNone givenBad test case
14502006-02-21CSource CodeCandidate An integer pointer is assigned an address value below the ...None givenBad test case
14512006-02-21CSource CodeCandidate Integer pointer is assigned an address value beyond current buffer.None givenBad test case
14522006-02-21CSource CodeCandidate Integer pointer is assigned address below current buffer.None givenBad test case
14532006-02-21CSource CodeCandidate Integer pointer is assigned a value beyond current buffer.None givenBad test case
14542006-02-21CSource CodeCandidate Integer pointer is assigned value beyond current buffer, using ...None givenBad test case
14572006-02-21CSource CodeCandidate Pointer is set to 0, but memory is not freed in function.None givenBad test case
14582006-02-21C++Source CodeCandidate No memory leak because of proper use of the delete() function.CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
Good test case
14592006-02-21CSource CodeCandidate Memory pointer is returned in function return value, and ...None givenGood test case
14602006-02-21CSource CodeCandidate Allocated memory is freed nor returned in function call.None givenBad test case
14612006-02-22CSource CodeCandidate Interprocedurally allocated memory is not freed in function.None givenBad test case
14622006-02-22CSource CodeCandidate Memory allocated via malloc() is not freed, nor is pointer ...None givenBad test case
14632006-02-22C++Source CodeDeprecated Memory allocated with new() function call is not freed with delete()cNone givenBad test case
14642006-02-22CSource CodeCandidate Memory allocated via malloc() is not freed nor is its pointer ...None givenBad test case
1 2 3
Total of selected test cases: 41
Total pages: 3