diff --git a/infra/experimental/SystemSan/inspect_dns.cpp b/infra/experimental/SystemSan/inspect_dns.cpp index 8f08e3a3f..030446345 100644 --- a/infra/experimental/SystemSan/inspect_dns.cpp +++ b/infra/experimental/SystemSan/inspect_dns.cpp @@ -108,6 +108,7 @@ struct DnsRequest parse_dns_request(std::vector data, size_t offset) while(offset < data.size()) { uint8_t rlen = uint8_t(data[offset]); if (rlen == 0) { + offset++; break; } r.nb_levels++;