NLnetLabs / simdzone

Fast and standards compliant DNS zone parser
BSD 3-Clause "New" or "Revised" License
63 stars 11 forks source link

indexer bug if partial token exceeds available buffer space #213

Closed k0ekk0ek closed 1 month ago

k0ekk0ek commented 1 month ago

@jaredmauch filed an issue with NSD 4.10 (NLnetLabs/nsd#345) that zone files fail to load. He kindly provided data to reproduce (kadimperium.com.txt). An initial investigation shows indexer state is corrupted if a partial token exceeds the current buffer size. Initial size is 16384 bytes and the RDATA size for the first OPENPGP RR is ~19697.

Still need to investigate this further.