ArrayIndexOutOfBoundsException in MiniDNS Version 0.3.3

I was working on a project that uses MiniDNS, a DNS services library for Java.  I noticed I was getting a strange error message when loading certain requests, with no noticeable correlation between them:

java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 32
	at minidns.core@0.3.3/org.minidns.record.NSEC.createTypeBitMap(
	at minidns.core@0.3.3/org.minidns.record.NSEC3.<init>(
	at minidns.core@0.3.3/org.minidns.record.NSEC3.<init>(
	at minidns.core@0.3.3/org.minidns.record.NSEC3.parse(
	at minidns.core@0.3.3/org.minidns.record.Record.parse(
	at minidns.core@0.3.3/org.minidns.dnsmessage.DnsMessage.<init>(

This is an edge case where an unknown DNS response type being returned for an NSEC3 answer gets “un-resolved” down the road and crashes the parser.  It has been fixed in 0.4.0-alpha.

StableHost Ad on the Sidebar

So I’ve added a little HTML advert on the sidebar promoting StableHost, my personal host of choice.  I found myself recommending them to a friend the other day and decided it might be a good idea to join their affiliate program.  I have never had any service issues with them, and I’ve been a happy customer for two years now.

Continue reading “StableHost Ad on the Sidebar”