SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #57: C++ Test Suite for Source Code Analyzer - weakness

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

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
21962010-11-23C++Source CodeAccepted This test case shows debugging code is left in the programCWE-489: Leftover Debug Code
Bad test case
21882010-11-15C++Source CodeAccepted Index variable in a loop is not initialized, but used.CWE-457: Use of Uninitialized Variable
Bad test case
21872010-11-15C++Source CodeAccepted Integer variable is not initialized before its use.CWE-457: Use of Uninitialized Variable
Bad test case
20652007-12-28C++Source CodeAccepted The test case shows a Heap Overflow by trying to insert out of ...CWE-122: Heap-based Buffer Overflow
Bad test case
20642007-12-28C++Source CodeAccepted The test case shows a Heap Overflow by trying to insert out of ...CWE-122: Heap-based Buffer Overflow
Bad test case
20632007-12-28C++Source CodeAccepted The test case shows a Heap Overflow by trying to insert out of ...CWE-122: Heap-based Buffer Overflow
Bad test case
20622007-12-28C++Source CodeAccepted The test case shows a Heap Overflow by trying to insert out of ...CWE-122: Heap-based Buffer Overflow
Bad test case
20602007-12-27C++Source CodeAccepted Uninitialized pointer is used.CWE-457: Use of Uninitialized Variable
Bad test case
20562007-12-17C++Source CodeAccepted This test case shows memory leak in a local control flow.CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
Bad test case
20542007-12-17C++Source CodeAccepted Created short is not deleted after use.CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
Bad test case
20482007-12-12C++Source CodeAccepted The test cases shows hard-coded password is used in C++ vector.CWE-259: Use of Hard-coded Password
Bad test case
20462007-12-11C++Source CodeAccepted The test cases shows hard-coded passwords is used in a container.CWE-259: Use of Hard-coded Password
Bad test case
20452007-12-11C++Source CodeAccepted The test cases shows hard-coded passwords is used in a loop.CWE-259: Use of Hard-coded Password
Bad test case
20442007-12-11C++Source CodeAccepted The test cases shows hard-coded password is used in a function.CWE-259: Use of Hard-coded Password
Bad test case
20432007-12-11C++Source CodeAccepted The test cases shows hard-coded passwords is used.CWE-259: Use of Hard-coded Password
Bad test case
20382007-12-04C++Source CodeAccepted A stack-based buffer overflow condition is a condition where the ...CWE-121: Stack-based Buffer Overflow
Bad test case
20342007-12-03C++Source CodeAccepted A software system that accepts and executes input in the form of ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
20322007-12-03C++Source CodeAccepted A software system that accepts and executes input in the form of ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
20302007-12-03C++Source CodeAccepted A software system that accepts and executes input in the form of ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
20282007-11-29C++Source CodeAccepted A software system that accepts and executes input in the form of ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
1 2 3
Total of selected test cases: 41
Total pages: 3