1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.

This commit is contained in:
Ulrich Drepper
2002-08-24 22:29:11 +00:00
parent 2a56ae9f1e
commit e2dced828e
3 changed files with 6 additions and 6 deletions

View File

@ -85,10 +85,10 @@ static const char rcsid[] = "$BINDId: res_query.c,v 8.20 2000/02/29 05:39:12 vix
/* Options. Leave them on. */
/* #undef DEBUG */
#if PACKETSZ > 1024
#if PACKETSZ > 65536
#define MAXPACKET PACKETSZ
#else
#define MAXPACKET 1024
#define MAXPACKET 65536
#endif
/*