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
1545302015-10-06JavaSource CodeCandidate This weakness takes a string in the form: '<qsize> ...CWE-414: Missing Lock Check
Bad test case
1545282015-10-06JavaSource CodeCandidate This weakness takes an integer and string as input (int string) ...CWE-663: Use of a Non-reentrant Function in a Concurrent Context
Bad test case
1545182015-10-06JavaSource CodeCandidate Algorithmic variant: basic. Root cause: none. This test takes a ...CWE-820: Missing Synchronization
Bad test case
1545012015-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
1544842015-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
1544742015-10-06JavaSource CodeCandidate This weakness takes in an integer and string "int ...CWE-821: Incorrect Synchronization
Bad test case
1544492015-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
1544332015-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
1544282015-10-06JavaSource CodeCandidate This test takes a filename that is used as a representation of ...CWE-412: Unrestricted Externally Accessible Lock
Bad test case
1544022015-10-06JavaSource CodeCandidate Algorithmic variant: basic. Root cause: none. This test takes a ...CWE-833: Deadlock
Bad test case
1543962015-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
1543642015-10-06JavaSource CodeCandidate This weakness takes an integer and string as input (int string) ...CWE-663: Use of a Non-reentrant Function in a Concurrent Context
Bad test case
1543632015-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
1543472015-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
1543372015-10-06JavaSource CodeCandidate This test takes user input for the size of an array to be. ...CWE-391: Unchecked Error Condition
Bad test case
1543322015-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
1543052015-10-06JavaSource CodeCandidate This test case takes a value and attempts to convert it to. ...CWE-248: Uncaught Exception
Bad test case
1542932015-10-06JavaSource CodeCandidate This test reads data from a sensitive file without checking. ...CWE-252: Unchecked Return Value
Bad test case
1542922015-10-06JavaSource CodeCandidate CWE-584 Return Inside Finally. This test takes the name of a ...CWE-584: Return Inside Finally Block
Bad test case
1542902015-10-06JavaSource CodeCandidate This test attempts to insert a new record into a MySQL. ...CWE-209: Information Exposure Through an Error Message
Bad test case
1 2 3 4 5 6 7 8
Total of selected test cases: 160
Total pages: 8