lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #58473] Trailing dot in hostname results in extraneous


From: Mate Varga
Subject: [lwip-devel] [bug #58473] Trailing dot in hostname results in extraneous label (and corrupt packet)
Date: Mon, 8 Jun 2020 04:55:06 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.30 Safari/537.36 Edg/84.0.522.11

Follow-up Comment #2, bug #58473 (project lwip):

Yes, there needs to be a zero-marker, that's fine. But the current code adds
_two_ zero-markers if the name ends with a dot.

> Why do you add an extra dot?

This is part of the specification.

https://tools.ietf.org/html/rfc1034

"Since a complete domain name ends with the root label, this leads to a
printed form which ends in a dot."


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?58473>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]