SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #58: C++ Test Suite for Source Code Analyzer - false positive

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

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
21972010-11-23C++Source CodeAccepted This test case shows the debugging code is removed from the program. CWE-489: Leftover Debug Code
Good test case
21922010-11-15C++Source CodeAccepted This test case shows index variable of a loop is initialized ...CWE-457: Use of Uninitialized Variable
Good test case
21912010-11-15C++Source CodeAccepted Variable is initialized before use.CWE-457: Use of Uninitialized Variable
Good test case
20682007-12-31C++Source CodeAccepted The test case shows a Heap Overflow will not occur when ...CWE-122: Heap-based Buffer Overflow
Good test case
20672007-12-31C++Source CodeAccepted The test case shows a Heap Overflow will not occur when ...CWE-122: Heap-based Buffer Overflow
Good test case
20662007-12-31C++Source CodeAccepted The test case shows a Heap Overflow will not occur when ...CWE-122: Heap-based Buffer Overflow
Good test case
20612007-12-27C++Source CodeAccepted Pointer is initialized before use.CWE-457: Use of Uninitialized Variable
Good test case
20582007-12-26C++Source CodeAccepted Allocated memory is deleted after use. There will be no memory leak.CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
Good test case
20522007-12-13C++Source CodeAccepted The test cases shows passwords are stored in the system and not hardcCWE-259: Use of Hard-coded Password
Good test case
20512007-12-13C++Source CodeAccepted The test cases shows passwords are stored in the system and not hardcCWE-259: Use of Hard-coded Password
Good test case
20502007-12-13C++Source CodeAccepted The test cases shows passwords are stored in the system and not ...CWE-259: Use of Hard-coded Password
Good test case
20492007-12-13C++Source CodeAccepted The test cases shows passwords are stored in a vector and not ...CWE-259: Use of Hard-coded Password
Good test case
20472007-12-11C++Source CodeAccepted The test cases shows hard-coded passwords is not used.CWE-259: Use of Hard-coded Password
Good test case
20402007-12-06C++Source CodeAccepted Assume all input is malicious. Use an appropriate combination of ...CWE-099: Improper Control of Resource Identifiers ('Resource Injection')
Good test case
20392007-12-04C++Source CodeAccepted A stack-based buffer overflow condition is a condition where the ...CWE-121: Stack-based Buffer Overflow
Good test case
20362007-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')
Good test case
20352007-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')
Good test case
20332007-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')
Good test case
20292007-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')
Good test case
20252007-11-29C++Source CodeAccepted Assume all input is malicious. Use an appropriate combination of ...CWE-099: Improper Control of Resource Identifiers ('Resource Injection')
Good test case
1 2
Total of selected test cases: 39
Total pages: 2