SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #45: C Test Suite for Source Code Analyzer - weakness (deprecated)

Results: 77 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
22032010-12-03CSource CodeDeprecated The test case shows a use of a allocated memory after freed.CWE-416: Use After Free
Bad test case
22022010-11-26CSource CodeDeprecated The test case shows a use of a allocated memory after freed. ...CWE-416: Use After Free
Bad test case
22012010-11-24CSource CodeDeprecated The test case shows a use of a allocated memory after freed.CWE-416: Use After Free
Bad test case
22002010-11-23CSource CodeDeprecated Attempt to return a pointer to memory that has been freed. This ...CWE-416: Use After Free
Bad test case
21992010-11-23CSource CodeDeprecated This test case shows a block of memory is freed twice. This ...CWE-415: Double Free
Bad test case
21982010-11-23CSource 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')
Bad test case
21932010-11-17CSource CodeDeprecated This test case shows a null pointer is dereferenced.CWE-476: NULL Pointer Dereference
Bad test case
21092009-10-01CSource CodeDeprecated The test cases implements CVE-2002-1869: Don't check if you canwCWE-412: Unrestricted Externally Accessible Lock
Bad test case
21082009-10-01CSource CodeDeprecated Attempt to return a pointer to memory that has been freed.CWE-416: Use After Free
Bad test case
20192007-11-26CSource CodeDeprecated Using the value of an unitialized variable is not safe. (from ...CWE-457: Use of Uninitialized Variable
Bad test case
20102007-10-11CSource CodeDeprecated The test case shows a weakness of improper null termination with ...CWE-170: Improper Null Termination
Bad test case
20092007-10-09CSource CodeDeprecated Buffer overflow if the input is not validated. Every operation ...CWE-121: Stack-based Buffer Overflow
Bad test case
20032007-10-05CSource CodeDeprecated Using the value of an unitialized variable is not safe.CWE-457: Use of Uninitialized Variable
Bad test case
19282007-03-05CSource CodeDeprecated Unchecked error condition; if we don't check the return of ...CWE-391: Unchecked Error Condition
Bad test case
19212007-03-01CSource CodeDeprecated The test case exposes a Cross-Site Scripting (XSS) in C/CGI ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
19192007-03-01CSource CodeDeprecated The test case exposes a Cross-Site Scripting (XSS) in C/CGI ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
19092007-03-01CSource CodeDeprecated The test case shows a Stack Overflow.CWE-121: Stack-based Buffer Overflow
Bad test case
19072007-03-01CSource CodeDeprecated The test case shows a Stack Overflow.CWE-121: Stack-based Buffer Overflow
Bad test case
19052007-03-01CSource CodeDeprecated The test case shows a Stack Overflow.CWE-121: Stack-based Buffer Overflow
Bad test case
19012007-03-01CSource CodeDeprecated The test case shows a resource injection weakness in a scoping ...CWE-099: Improper Control of Resource Identifiers ('Resource Injection')
Bad test case
1 2 3 4
Total of selected test cases: 77
Total pages: 4