SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #46: C Test Suite for Source Code Analyzer - false positive (deprecated)

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

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
22712011-02-08CSource CodeDeprecated This test case show there is no double free weakness.CWE-415: Double Free
Good test case
22702011-01-21CSource CodeDeprecated The test case shows a use of a allocated memory after freed.CWE-416: Use After Free
Good test case
22692011-01-21CSource CodeDeprecated The test case shows a use of a allocated memory after freed.CWE-416: Use After Free
Good test case
22052010-12-10CSource CodeDeprecated The test cases implements CVE-2002-1869: Don't check if you canwCWE-412: Unrestricted Externally Accessible Lock
Good test case
22042010-12-08CSource CodeDeprecated This is a CGI program which take some parameters values then ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Good test case
21952010-11-18CSource CodeDeprecated This test case avoids the problem of NULL pointer dereference.CWE-476: NULL Pointer Dereference
Good test case
21942010-11-18CSource CodeDeprecated This test shows a null pointer is not dereferenced, in a local ...CWE-476: NULL Pointer Dereference
Good test case
21862010-11-09CSource CodeDeprecated Pointer is checked before useCWE-457: Use of Uninitialized Variable
Good test case
21392009-10-26CSource CodeDeprecated This test case shows an effort is made to avoid OS command injectionpCWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Good test case
21382009-10-26CSource CodeDeprecated The test case exposes an OS Command Injection in scope complexity.CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Good test case
21372009-10-26CSource CodeDeprecated The test case exposes an OS Command Injection weakness in a loop.CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Good test case
21362009-10-26CSource CodeDeprecated The test case exposes an OS Command Injection weakness in a ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Good test case
21352009-10-23CSource CodeDeprecated The test case shows a use of a allocated memory after freed.CWE-416: Use After Free
Good test case
21342009-10-23CSource CodeDeprecated An example to prevent heap overflow.CWE-122: Heap-based Buffer Overflow
Good test case
21332009-10-22CSource CodeDeprecated This test case shows a hard coded password in a for loop structure.CWE-259: Use of Hard-coded Password
Good test case
21322009-10-22CSource CodeDeprecated This test case shows no hard-coded password in a local control flow.CWE-259: Use of Hard-coded Password
Good test case
21312009-10-22CSource CodeDeprecated The test case exposes a password which is not hard-coded in the ...CWE-259: Use of Hard-coded Password
Good test case
21302009-10-22CSource CodeDeprecated The test cases shows hard-coded passwords are not used; these ...CWE-259: Use of Hard-coded Password
Good test case
20122007-10-11CSource CodeDeprecated The test case shows avoiding improper null termination with a bufferaCWE-170: Improper Null Termination
Good test case
19332007-03-05CSource CodeDeprecated Memory leak, the allocated memory is never freed.CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
Good test case
1 2 3 4
Total of selected test cases: 73
Total pages: 4