]> git.pld-linux.org Git - packages/bind.git/blob - bind-host.patch
- release 19
[packages/bind.git] / bind-host.patch
1 --- bind-8.2/src/bin/host/host.c.host   Mon Jan 11 16:15:38 1999
2 +++ bind-8.2/src/bin/host/host.c        Wed Mar 31 10:51:54 1999
3 @@ -1310,6 +1310,7 @@
4  
5                 amtToRead = len;
6                 cp = buf.qb2;
7 +               if (amtToRead > NS_PACKETSZ) amtToRead=NS_PACKETSZ;
8                 while (amtToRead > 0 &&
9                        (numRead = read(sockFD, cp, amtToRead)) > 0) {
10                         cp += numRead;
This page took 0.029569 seconds and 3 git commands to generate.