inspircd/inspircd — pull request #1 by nenolod (2012-03-21 13:48:53+00:00)
Title: DNS resolver hardening (insp20 branch)

these commits harden the DNS resolver to fix the CERT bug.

new changes:

- don't explicitly trust rr.rdlength
- validate lengths on decompression (using same behaviour as charybdis)
- check A/AAAA replies too, as they could be exploited using similar technique