projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ebfd7
)
2002-09-04 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Thu, 5 Sep 2002 01:23:06 +0000
(
01:23
+0000)
committer
Roland McGrath
<roland@gnu.org>
Thu, 5 Sep 2002 01:23:06 +0000
(
01:23
+0000)
* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
resolv/nss_dns/dns-network.c
patch
|
blob
|
history
diff --git
a/resolv/nss_dns/dns-network.c
b/resolv/nss_dns/dns-network.c
index
8816653
..
774c868
100644
(file)
--- a/
resolv/nss_dns/dns-network.c
+++ b/
resolv/nss_dns/dns-network.c
@@
-70,10
+70,10
@@
#define MAX_NR_ALIASES 48
-#if PACKETSZ >
1024
-#
define MAXPACKET
PACKETSZ
+#if PACKETSZ >
65536
+#
define MAXPACKET
PACKETSZ
#else
-#
define MAXPACKET 1024
+#
define MAXPACKET 65536
#endif