mirror of git://sourceware.org/git/glibc.git
2002-09-04 Roland McGrath <roland@redhat.com>
* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.
This commit is contained in:
parent
76ebfd759f
commit
870d19de2b
|
|
@ -70,10 +70,10 @@
|
||||||
#define MAX_NR_ALIASES 48
|
#define MAX_NR_ALIASES 48
|
||||||
|
|
||||||
|
|
||||||
#if PACKETSZ > 1024
|
#if PACKETSZ > 65536
|
||||||
#define MAXPACKET PACKETSZ
|
# define MAXPACKET PACKETSZ
|
||||||
#else
|
#else
|
||||||
#define MAXPACKET 1024
|
# define MAXPACKET 65536
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue