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
18432007-03-01CSource CodeDeprecated The test case shows a Heap Overflow with an array complexity.CWE-122: Heap-based Buffer Overflow
Bad test case
18412007-03-01CSource CodeDeprecated This test case shows a hard coded password in a for loop structure.CWE-259: Use of Hard-coded Password
Bad test case
18392007-03-01CSource CodeDeprecated This test case shows a hard-coded password in a local control flow.CWE-259: Use of Hard-coded Password
Bad test case
18372007-03-01CSource CodeDeprecated The test case exposes a password which is hard-coded in the ...CWE-259: Use of Hard-coded Password
Bad test case
18352007-03-01CSource CodeDeprecated The test cases shows hard-coded passwords; these passwords are ...CWE-259: Use of Hard-coded Password
Bad test case
18332007-03-01CSource CodeDeprecated This test case shows a format string vulnerability in a local ...CWE-134: Uncontrolled Format String
Bad test case
18312007-03-01CSource CodeDeprecated This test cases exposes a format string vulnerability with a ...CWE-134: Uncontrolled Format String
Bad test case
18292007-03-01CSource CodeDeprecated This test case shows a double free in a for loop structure.CWE-415: Double Free
Bad test case
18272007-03-01CSource CodeDeprecated This test case shows a double free in a local control flow ...CWE-415: Double Free
Bad test case
18102007-01-17CSource CodeDeprecated . The use of a hard-coded password increases the possibility ofpCWE-259: Use of Hard-coded Password
Bad test case
18082007-01-11CSource CodeDeprecated This test case exposes a Race Condition error at the line 47. ...CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Bad test case
18062007-01-11CSource CodeDeprecated This test case exposes a Race Condition error at the line 26. ...CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Bad test case
18002007-01-11CSource CodeDeprecated The SQL Injection is possible because the argument are not validated CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
17982007-01-11CSource CodeDeprecated The SQL Injection is possible if the arguments are not validated.CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
17962007-01-11CSource CodeDeprecated The SQL Injection is possible because the arguments are not ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
17942007-01-11CSource CodeDeprecated This Cross-Site Scripting example shows how a CGI program in C takestCWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
17822007-01-08CSource CodeDeprecated In C and C++, one may often accidentally refer to the wrong ...CWE-468: Incorrect Pointer Scaling
Bad test case
17812007-01-07CSource CodeDeprecated The test case shows a Cross Site scripting weakness in a C/CGI ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
17572006-09-05CSource CodeDeprecated Test of tool ability to identify use of an uninitialized variable.CWE-457: Use of Uninitialized Variable
Bad test case
17512006-08-23CSource CodeDeprecated stack overflowCWE-121: Stack-based Buffer Overflow
Bad test case
1 2 3 4
Total of selected test cases: 77
Total pages: 4