]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Revert incomplete revno9151
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Feb 2010 08:57:31 +0000 (21:57 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Feb 2010 08:57:31 +0000 (21:57 +1300)
lib/rfc1035.c

index 0552e5cd308d7e2f30f8731999e43236560e52d8..77a4d6ddfecde4d8914b17c8b08c29d8a90f69cc 100644 (file)
@@ -288,10 +288,6 @@ rfc1035NameUnpack(const char *buf, size_t sz, unsigned int *off, unsigned short
     assert(ns > 0);
     do {
        assert((*off) < sz);
-        if ((*off) >= sz) {
-            RFC1035_UNPACK_DEBUG;
-            return 1;
-        }
        c = *(buf + (*off));
        if (c > 191) {
             /* blasted compression */