From: Amos Jeffries Date: Tue, 2 Feb 2010 08:57:31 +0000 (+1300) Subject: Revert incomplete revno9151 X-Git-Tag: SQUID_3_0_STABLE23~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf50b000ee63b1d6c65149fb5f2fc7dc2a3bf99f;p=thirdparty%2Fsquid.git Revert incomplete revno9151 --- diff --git a/lib/rfc1035.c b/lib/rfc1035.c index 0552e5cd30..77a4d6ddfe 100644 --- a/lib/rfc1035.c +++ b/lib/rfc1035.c @@ -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 */