netty5/codec-dns/src/main/java/io/netty/handler/codec/dns
Trustin Lee 923a0e71ac 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:51:38 -07:00
..
DnsEntry.java Fix NPE while decoding authority section of a DNS response 2014-07-21 16:40:26 -07:00
DnsHeader.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsMessage.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsQuery.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsQueryEncoder.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsQueryHeader.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsQuestion.java Fix NPE while decoding authority section of a DNS response 2014-07-21 16:40:26 -07:00
DnsResource.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsResponse.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsResponseCode.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsResponseDecoder.java Raise a meaningful exception instead of NPE 2014-07-21 16:51:38 -07:00
DnsResponseException.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
DnsResponseHeader.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
package-info.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00