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/lib/isc Pull up revision 1.2 (requested by it...



details:   https://anonhg.NetBSD.org/src/rev/6c7e0881224a
branches:  netbsd-1-6
changeset: 528224:6c7e0881224a
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:54: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/lib/isc/ctl_p.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 4d82a5a30e0a -r 6c7e0881224a dist/bind/lib/isc/ctl_p.h
--- a/dist/bind/lib/isc/ctl_p.h Fri Jun 28 11:54:31 2002 +0000
+++ b/dist/bind/lib/isc/ctl_p.h Fri Jun 28 11:54:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctl_p.h,v 1.1.1.1 1999/11/20 18:54:11 veego Exp $      */
+/*     $NetBSD: ctl_p.h,v 1.1.1.1.10.1 2002/06/28 11:54:41 lukem Exp $ */
 
 struct ctl_buf {
        char *                  text;
@@ -6,7 +6,11 @@
 };
 
 #define        MAX_LINELEN             990     /* Like SMTP. */
+#ifndef NO_SOCKADDR_UN
+#define MAX_NTOP                       PATH_MAX
+#else
 #define        MAX_NTOP                (sizeof "[255.255.255.255].65535")
+#endif
 
 #define        allocated_p(Buf) ((Buf).text != NULL)
 #define        buffer_init(Buf) ((Buf).text = 0, (Buf.used) = 0)



Home | Main Index | Thread Index | Old Index