netty5/codec-dns
Trustin Lee eab9bcb9d3 Raise a meaningful exception instead of NPE
Motivation:

When decoding the NAME field in a DNS Resource Record, DnsResponseDecoder
can raise a NullPointerException if the NAME field contains a loop.

Modification:

Instead of raising an NPE, raise CorruptedFrameException so that the
exception itself has meaning.

Result:

Less confusing when a malformed DNS RR is received
2014-07-21 16:48:08 -07:00
..
src Raise a meaningful exception instead of NPE 2014-07-21 16:48:08 -07:00
pom.xml DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:47:25 +02:00