mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 23:01:43 -04:00
pullup:
1152. [bug] libbind: read buffer overflows.
This commit is contained in:
parent
f10e90ebb4
commit
f9409b10fd
3 changed files with 5 additions and 11 deletions
2
CHANGES
2
CHANGES
|
|
@ -17,6 +17,8 @@
|
|||
1154. [bug] Don't attempt to obtain the netmask of a interface
|
||||
if there is no address configured. [RT #2176]
|
||||
|
||||
1152. [bug] libbind: read buffer overflows.
|
||||
|
||||
1144. [bug] rndc-confgen would crash if both the -a and -t
|
||||
options were specified. [RT #2159]
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static const char rcsid[] = "$Id: dns_nw.c,v 1.3 2001/04/03 06:42:21 marka Exp $";
|
||||
static const char rcsid[] = "$Id: dns_nw.c,v 1.3.2.1 2002/01/22 04:15:44 marka Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/* Imports. */
|
||||
|
|
@ -56,11 +56,7 @@ static const char rcsid[] = "$Id: dns_nw.c,v 1.3 2001/04/03 06:42:21 marka Exp $
|
|||
|
||||
#define MAXALIASES 35
|
||||
|
||||
#if PACKETSZ > 1024
|
||||
#define MAXPACKET PACKETSZ
|
||||
#else
|
||||
#define MAXPACKET 1024
|
||||
#endif
|
||||
#define MAXPACKET (64*1024)
|
||||
|
||||
struct pvt {
|
||||
struct nwent net;
|
||||
|
|
|
|||
|
|
@ -172,11 +172,7 @@ static const struct explore explore[] = {
|
|||
|
||||
#define PTON_MAX 16
|
||||
|
||||
#if PACKETSZ > 1024
|
||||
#define MAXPACKET PACKETSZ
|
||||
#else
|
||||
#define MAXPACKET 1024
|
||||
#endif
|
||||
#define MAXPACKET (1024*64)
|
||||
|
||||
typedef union {
|
||||
HEADER hdr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue