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
1547092015-10-06JavaSource CodeCandidate This test takes a filename that is used as a representation of ...CWE-412: Unrestricted Externally Accessible Lock
Bad test case
1547022015-10-06JavaSource CodeCandidate Algorithmic variant: basic. Root cause: none. This test takes a ...CWE-833: Deadlock
Bad test case
1546712015-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
1546702015-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
1546692015-10-06JavaSource CodeCandidate Algorithmic variant: basic. Root cause: none. This test takes a ...CWE-833: Deadlock
Bad test case
1546672015-10-06JavaSource CodeCandidate Algorithmic variant: basic. Root cause: none. This test takes a ...CWE-820: Missing Synchronization
Bad test case
1546622015-10-06JavaSource CodeCandidate This weakness takes in an integer and string "int ...CWE-821: Incorrect Synchronization
Bad test case
1546592015-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
1546512015-10-06JavaSource CodeCandidate This test takes an integer followed by a filename as input (int ...CWE-363: Race Condition Enabling Link Following
Bad test case
1546472015-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
1546022015-10-06JavaSource CodeCandidate This test takes an integer followed by a filename as input (int ...CWE-363: Race Condition Enabling Link Following
Bad test case
1545962015-10-06JavaSource CodeCandidate This weakness takes an input of "<qsize> ...CWE-609: Double-Checked Locking
Bad test case
1545912015-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
1545762015-10-06JavaSource CodeCandidate This weakness takes in an integer and string "int ...CWE-821: Incorrect Synchronization
Bad test case
1545752015-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
1545742015-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
1545602015-10-06JavaSource CodeCandidate A file name is provided to the application. This file is assumed ...CWE-572: Call to Thread run() instead of start()
Bad test case
1545562015-10-06JavaSource CodeCandidate This weakness takes an input of "<qsize> ...CWE-609: Double-Checked Locking
Bad test case
1545512015-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
1545312015-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
1 2 3 4 5 6 7 8
Total of selected test cases: 160
Total pages: 8