SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 380 test cases in 19 pages. Pages: << 1 2 3 4 5 6 7 8 9 ... >> Last
Go to page:

Select Test Case ID(down) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1506212015-10-06CSource CodeCandidate This test case implements a time of check time of use ...CWE-363: Race Condition Enabling Link Following
Bad test case
1506342015-10-06CSource CodeCandidate This test case implements two threads that lock a counting semaphoremCWE-764: Multiple Locks of a Critical Resource
Bad test case
1506402015-10-06CSource CodeCandidate This test case implements an asynchronous unsafe signal handler thataCWE-828: Signal Handler with Functionality that is not Asynchronous-Safe
Bad test case
1506542015-10-06CSource CodeCandidate This test case implements two threads that do not use ...CWE-820: Missing Synchronization
Bad test case
1506562015-10-06CSource CodeCandidate This test case implements a missing lock check that allows two ...CWE-414: Missing Lock Check
Bad test case
1506622015-10-06CSource CodeCandidate This test case implements two threads that each use a separate mutexlCWE-821: Incorrect Synchronization
Bad test case
1506642015-10-06CSource CodeCandidate This test case uses a counting semaphore initialized to one count ofaCWE-765: Multiple Unlocks of a Critical Resource
Bad test case
1506792015-10-06CSource CodeCandidate This test case implements a time of check time of use ...CWE-363: Race Condition Enabling Link Following
Bad test case
1506802015-10-06CSource CodeCandidate This test case implements a missing lock check that allows two ...CWE-414: Missing Lock Check
Bad test case
1506822015-10-06CSource CodeCandidate This test case implements a non-reentrant function that is called byaCWE-479: Signal Handler Use of a Non-reentrant Function
Bad test case
1506962015-10-06CSource CodeCandidate This test case implements a non-reentrant function that uses a ...CWE-663: Use of a Non-reentrant Function in a Concurrent Context
Bad test case
1507042015-10-06CSource CodeCandidate This test case implements a non-reentrant function that uses a ...CWE-663: Use of a Non-reentrant Function in a Concurrent Context
Bad test case
1507362015-10-06CSource CodeCandidate This test case squares a positive number. If the number is large ...CWE-190: Integer Overflow or Wraparound
Bad test case
1507402015-10-06CSource CodeCandidate This weakness reads a number to be used as a loop counter. The ...CWE-196: Unsigned to Signed Conversion Error
Bad test case
1507472015-10-06CSource CodeCandidate This test case allocates a stack buffer of size 16. It takes the ...CWE-195: Signed to Unsigned Conversion Error
Bad test case
1507532015-10-06CSource CodeCandidate This test case squares a positive number. If the number is large ...CWE-190: Integer Overflow or Wraparound
Bad test case
1507542015-10-06CSource CodeCandidate This test case squares a positive number. If the number is large ...CWE-190: Integer Overflow or Wraparound
Bad test case
1507602015-10-06CSource CodeCandidate This weakness reads a number to be used as a loop counter. The ...CWE-196: Unsigned to Signed Conversion Error
Bad test case
1507662015-10-06CSource CodeCandidate This test case allocates a stack buffer of size 16. It takes the ...CWE-195: Signed to Unsigned Conversion Error
Bad test case
1507832015-10-06CSource CodeCandidate This test case takes an integer and mods it by four. That ...CWE-369: Divide By Zero
Bad test case
<< 1 2 3 4 5 6 7 8 9 ... >> Last
Total of selected test cases: 380
Total pages: 19