mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 01:32:14 -05:00
9a8cc5a98d
Previously, the DNS packet parser would happily parse a DNS packet containing an arbitrarily large domain name. We now limit each segment of a domain name to 63 characters and the total domain name length to 253 characters. This is consistent with RFC1035, which specifies that the maximum name length is 255 octets. This includes the initial length byte and final null byte, which accounts for the 2 byte difference. |
||
---|---|---|
.. | ||
Answer.cpp | ||
Answer.h | ||
CMakeLists.txt | ||
Name.cpp | ||
Name.h | ||
Packet.cpp | ||
Packet.h | ||
PacketHeader.h | ||
Question.h |