]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.5.STABLE5-rfc1035NameUnpack.patch
- new-style bcond, pl fixes
[packages/squid.git] / squid-2.5.STABLE5-rfc1035NameUnpack.patch
CommitLineData
230f348a
AM
1Index: squid/lib/rfc1035.c
2diff -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
5***************
6*** 337,343 ****
7 break;
8 if (len > (ns - no - 1)) /* label won't fit */
9 return 1;
10! if ((*off) + len > sz) /* message is too short */
11 return 1;
12 memcpy(name + no, buf + (*off), len);
13 (*off) += len;
14--- 337,343 ----
15 break;
16 if (len > (ns - no - 1)) /* label won't fit */
17 return 1;
18! if ((*off) + len >= sz) /* message is too short */
19 return 1;
20 memcpy(name + no, buf + (*off), len);
21 (*off) += len;
This page took 0.022922 seconds and 4 git commands to generate.