IP_Hdr pointer do not propagate from udp to child analyzers via DeliverPacket method causing a segfault

Description

From a child analyzer like NTP, the IP_Hdr pointer in the DeliverPacket method is empty and unusable causing a segmentation fault as soon as you try to access it.

To recreate the bug, just add an "assert(ip)" inside the DeliverPacket method of a UDP child analyzer and the execution will fail (instead of the segmentation fault).

Environment

Debian

Activity

Show:
Merged

Assignee

Robin Sommer

Reporter

Eric Asselin

Labels

External issue ID

None

Components

Affects versions

Priority

High
Configure