From bf50b000ee63b1d6c65149fb5f2fc7dc2a3bf99f Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 2 Feb 2010 21:57:31 +1300 Subject: [PATCH] Revert incomplete revno9151 --- lib/rfc1035.c | 4 ---- 1 file changed, 4 deletions(-) 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 */ -- 2.47.2