Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] BUG: ICMPv6 DNS Search List Option zero padding flagged as an er

Date Prev · Date Next · Thread Prev · Thread Next
From: Simon Kelley <simon@xxxxxxxxxxxxxxxxx>
Date: Sat, 31 Mar 2012 21:04:34 +0100
Dear Wireshark people,


Thanks for an excellent package: it's really invaluable.

A small bug I've found.

Display of ICMPv6 DNS search list option (option 31)

Zero octets following the terminating zero of the last name are flagged
as Error/Malformed, but this is wrong. The length field for ICMPv6
packets gives units of 8 bytes, and RFC 6106 para 5.2 says:

"Because the size of this field MUST be a multiple of 8 octets,
for the minimum multiple including the domain name
representations, the remaining octets other than the
encoding parts of the domain name representations
MUST be padded with zeros."


Cheers,

Simon.