diff --git a/org/xbill/DNS/BitString.java b/org/xbill/DNS/BitString.java
index <HASH>..<HASH> 100644
--- a/org/xbill/DNS/BitString.java
+++ b/org/xbill/DNS/BitString.java
@@ -130,10 +130,6 @@ BitString(String s) throws IOException {
 	data = new byte[bytes()];
 	for (int i = 0; i < nbits; i++)
 		data[i/8] |= ((set.get(i) ? 1 : 0) << (7 - i%8));
-	for (int i = nbits; i < (((nbits + 7) >>> 3) << 3); i++) {
-		if (set.get(i))
-			throw new IOException("Invalid binary label: " + s);
-	}
 }
 
 BitString(int _nbits, byte [] _data) {
Some invalid bitstring labels were being accepted.


git-svn-id: <URL>