Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/dist/bind/include/isc Pull up revision 1.2 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/c5b1d078273a
branches:  netbsd-1-6
changeset: 528168:c5b1d078273a
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:38:41 2002 +0000

description:
Pull up revision 1.2 (requested by itojun in ticket #387):
Update to BIND 8.3.3.  Fixes buffer overrun in resolver code.

diffstat:

 dist/bind/include/isc/eventlib.h    |  6 +++---
 dist/bind/include/isc/irpmarshall.h |  7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r 1fe115d62d91 -r c5b1d078273a dist/bind/include/isc/eventlib.h
--- a/dist/bind/include/isc/eventlib.h  Fri Jun 28 11:38:15 2002 +0000
+++ b/dist/bind/include/isc/eventlib.h  Fri Jun 28 11:38:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eventlib.h,v 1.1.1.1 1999/11/20 18:54:03 veego Exp $   */
+/*     $NetBSD: eventlib.h,v 1.1.1.1.10.1 2002/06/28 11:38:41 lukem Exp $      */
 
 /*
  * Copyright (c) 1995-1999 by Internet Software Consortium
@@ -20,7 +20,7 @@
 /* eventlib.h - exported interfaces for eventlib
  * vix 09sep95 [initial]
  *
- * Id: eventlib.h,v 1.22 1999/08/18 22:09:04 vixie Exp
+ * Id: eventlib.h,v 1.23 2001/05/29 05:47:09 marka Exp
  */
 
 #ifndef _EVENTLIB_H
@@ -108,7 +108,7 @@
 
 int evListen __P((evContext ctx, int fd, int maxconn,
                  evConnFunc func, void *uap, evConnID *id));
-int evConnect __P((evContext ctx, int fd, void *ra, int ralen,
+int evConnect __P((evContext ctx, int fd, const void *ra, int ralen,
                   evConnFunc func, void *uap, evConnID *id));
 int evCancelConn __P((evContext ctx, evConnID id));
 int evHold __P((evContext, evConnID));
diff -r 1fe115d62d91 -r c5b1d078273a dist/bind/include/isc/irpmarshall.h
--- a/dist/bind/include/isc/irpmarshall.h       Fri Jun 28 11:38:15 2002 +0000
+++ b/dist/bind/include/isc/irpmarshall.h       Fri Jun 28 11:38:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irpmarshall.h,v 1.1.1.1 1999/11/20 18:54:03 veego Exp $        */
+/*     $NetBSD: irpmarshall.h,v 1.1.1.1.10.1 2002/06/28 11:38:50 lukem Exp $   */
 
 /*
  * Copyright (c) 1999 by Internet Software Consortium.
@@ -18,7 +18,7 @@
  */
 
 /*
- * Id: irpmarshall.h,v 8.1 1999/01/18 07:46:47 vixie Exp
+ * Id: irpmarshall.h,v 8.2 2001/05/29 05:47:10 marka Exp
  */
 
 #ifndef _IRPMARSHALL_H_INCLUDED
@@ -59,7 +59,8 @@
 int irp_unmarshall_ho(struct hostent *ho, char *buffer);
 int irp_marshall_ng(const char *host, const char *user, const char *domain,
                    char **buffer, size_t *len);
-int irp_unmarshall_ng(char **host, char **user, char **domain, char *buffer);
+int irp_unmarshall_ng(const char **host, const char **user,
+                     const char **domain, char *buffer);
 int irp_marshall_nw(struct nwent *ne, char **buffer, size_t *len);
 int irp_unmarshall_nw(struct nwent *ne, char *buffer);
 int irp_marshall_ne(struct netent *ne, char **buffer, size_t *len);



Home | Main Index | Thread Index | Old Index