1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:35:07 +00:00
serenity/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 LibDNS: Fix compilation with signed time_t 2023-09-06 11:41:16 -06:00
Answer.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
CMakeLists.txt LibDNS: Use AllocatingMemoryStream in DNS package construction 2023-01-13 18:41:05 -07:00
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 Libraries: Add missing includes, add namespace qualifiers 2022-09-18 13:27:24 -04:00