ladybird/Userland/Libraries/LibDNS
Tim Ledbetter 9a8cc5a98d LibDNS: Ensure DNS name and label sizes are within expected limits
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.
2023-11-14 10:12:44 +01:00
..
Answer.cpp
Answer.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
CMakeLists.txt
Name.cpp LibDNS: Ensure DNS name and label sizes are within expected limits 2023-11-14 10:12:44 +01:00
Name.h LibDNS: Make DNS packet parsing fallible 2023-11-14 10:12:44 +01:00
Packet.cpp LibDNS: Make DNS packet parsing fallible 2023-11-14 10:12:44 +01:00
Packet.h LibDNS: Make DNS packet parsing fallible 2023-11-14 10:12:44 +01:00
PacketHeader.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
Question.h