SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #81: Basic CWE Effectiveness, CWE-121: Stack-based Buffer Overflow, for C.

Results: 5 test cases.

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
19092007-03-01CSource CodeDeprecated The test case shows a Stack Overflow.CWE-121: Stack-based Buffer Overflow
Bad test case
8412005-12-27CSource CodeCandidate Buffer Overflow. This code has been donated by MIT. This test ...CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Bad test case
2932005-12-27CSource CodeCandidate Buffer Overflow. This code has been donated by MIT. This test ...CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Bad test case
2492005-12-27CSource CodeCandidate Buffer Overflow. This code has been donated by MIT. This test ...CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Bad test case
1172005-12-27CSource CodeCandidate Buffer Overflow. This code has been donated by MIT. This test ...CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Bad test case