National Institute of Standards and Technology
Package illustrating a test case

Test case 234723

Deprecated test case

This version contains mistakes, making it deprecated. Deprecated test cases should not be used for new work. However, They remain in the SARD as a reference to redo previous work. The latest version of this test case is available here.

Description

CWE: 126 Buffer Over-read
BadSource: Use a small buffer
GoodSource: Use a large buffer
Sink: loop
BadSink : Copy data to string using a loop
Flow Variant: 32 Data flow using two pointers to the same value within the same function

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.