SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 160 test cases in 8 pages. Pages: 1 2 3 4 5 6 7 8
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1544812015-10-06JavaSource CodeCandidate This weakness takes in an integer and string "int ...CWE-567: Unsynchronized Access to Shared Data in a Multithreaded Context
Bad test case
1544762015-10-06JavaSource CodeCandidate Algorithmic variant: basic. Root cause: none. This test takes a ...CWE-820: Missing Synchronization
Bad test case
1544722015-10-06JavaSource CodeCandidate This test takes an integer and filename as input (int filename), andcCWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Bad test case
1544712015-10-06JavaSource CodeCandidate Algorithmic variant: basic. Root cause: none. This test takes a ...CWE-833: Deadlock
Bad test case
1544502015-10-06JavaSource CodeCandidate This test takes a string. It locks a lock upon encountering the ...CWE-832: Unlock of a Resource that is not Locked
Bad test case
1544382015-10-06JavaSource CodeCandidate This test takes a string. It locks a lock upon encountering the ...CWE-832: Unlock of a Resource that is not Locked
Bad test case
1544232015-10-06JavaSource CodeCandidate This weakness takes an integer, two file names, and an integer ...CWE-543: Use of Singleton Pattern Without Synchronization in a Multithreaded Context
Bad test case
1544192015-10-06JavaSource CodeCandidate This test takes a string. It locks a lock upon encountering the ...CWE-764: Multiple Locks of a Critical Resource
Bad test case
1544152015-10-06JavaSource CodeCandidate This test takes a string. It locks a lock upon encountering the ...CWE-765: Multiple Unlocks of a Critical Resource
Bad test case
1544042015-10-06JavaSource CodeCandidate This weakness takes in an integer and string "int ...CWE-821: Incorrect Synchronization
Bad test case
1543972015-10-06JavaSource CodeCandidate This test takes a filename that is used as a representation of ...CWE-412: Unrestricted Externally Accessible Lock
Bad test case
1543842015-10-06JavaSource CodeCandidate This test takes an integer and filename as input (int filename), andcCWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Bad test case
1543772015-10-06JavaSource CodeCandidate This weakness takes a string in the form: '<qsize> ...CWE-414: Missing Lock Check
Bad test case
1542722015-10-06JavaSource CodeCandidate This test gets the index of the character . in the input ...CWE-253: Incorrect Check of Function Return Value
Bad test case
1542662015-10-06JavaSource CodeCandidate This test takes user input for the size of an array to be. ...CWE-391: Unchecked Error Condition
Bad test case
1542632015-10-06JavaSource CodeCandidate This test reads data from a sensitive file without checking. ...CWE-252: Unchecked Return Value
Bad test case
1542462015-10-06JavaSource CodeCandidate This test case takes a value and attempts to convert it to. ...CWE-248: Uncaught Exception
Bad test case
1542202015-10-06JavaSource CodeCandidate This test takes input in the form of an integer. and creates an ...CWE-460: Improper Cleanup on Thrown Exception
Bad test case
1542172015-10-06JavaSource CodeCandidate This test takes input in the form of an integer. and creates an ...CWE-460: Improper Cleanup on Thrown Exception
Bad test case
1542012015-10-06JavaSource CodeCandidate This test reads data from a sensitive file without checking. ...CWE-252: Unchecked Return Value
Bad test case
1 2 3 4 5 6 7 8
Total of selected test cases: 160
Total pages: 8