National Institute of Standards and Technology
Package illustrating a test case

Test case 241349

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: 761 Free Pointer not at Start of Buffer
BadSource: connect_socket Read data using a connect socket (client side)
Sinks:
GoodSink: free() memory correctly at the start of the buffer
BadSink : free() memory not at the start of the buffer
Flow Variant: 32 Data flow: 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.