]> The Tcpdump Group git mirrors - tcpdump/commit
ICMPv6: Fix printing the Home Agent Address Discovery Reply Message
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 2 Mar 2024 19:34:03 +0000 (20:34 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 3 Mar 2024 09:09:42 +0000 (10:09 +0100)
commit66dc8d7b9618b2c036f7d3e6ae3c231713aca67e
treece4a498062815401257fca2e2f00c4f56064c199
parentf9ea99305fb0dbf02d1c1638c606ec26a0c78dad
ICMPv6: Fix printing the Home Agent Address Discovery Reply Message

This change avoids incorrect truncation printing (" [|icmp6]") avoiding
any attempt to get an IPv6 address past the end of the packet data.
It also avoids a pointer overflow with a 32-bit build that stopped IPv6
addresses printing.
(When length is big, e.g. Jumbo Payload).
print-icmp6.c