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:
Roland McGrath 2002-09-05 01:23:06 +00:00
parent 76ebfd759f
commit 870d19de2b

View File

@ -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