National Institute of Standards and Technology
Package illustrating a test case

Test case 149491

Description

This test case reads the taint source. If the length of the taint source is 63 bytes or less, it allocates a buffer to copy the taint source into. It then copies the taint source into the buffer, regardless of whether it actually allocated any memory or not. If it did not allocate memory, the buffer pointer is still NULL, and this causes a NULL pointer dereference.
Metadata
- Base program: Wireshark
- Source Taint: FILE_CONTENTS
- Data Type: HEAP_POINTER
- Data Flow: VAR_ARG_LIST
- Control Flow: INTERPROCEDURAL_50

Flaws

Test Suites

Documentation

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