1 Index: squid/lib/rfc1035.c
2 diff -c squid/lib/rfc1035.c:1.22.2.4 squid/lib/rfc1035.c:1.22.2.5
3 *** squid/lib/rfc1035.c:1.22.2.4 Fri Apr 25 06:09:57 2003
4 --- squid/lib/rfc1035.c Sun Apr 11 03:14:52 2004
8 if (len > (ns - no - 1)) /* label won't fit */
10 ! if ((*off) + len > sz) /* message is too short */
12 memcpy(name + no, buf + (*off), len);
16 if (len > (ns - no - 1)) /* label won't fit */
18 ! if ((*off) + len >= sz) /* message is too short */
20 memcpy(name + no, buf + (*off), len);