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/nameser Pull up revision 1.2 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/69e9cbb225c8
branches:  netbsd-1-6
changeset: 529349:69e9cbb225c8
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Nov 15 00:47:45 2002 +0000

description:
Pull up revision 1.2 (requested by itojun in ticket #989):
apply http://www.isc.org/products/BIND/patches/bind833.diff to fix recent
vulnerabilities:
* BIND: Remote Execution of Code (BIND 4 & 8)
* BIND: Multiple Denial of Service (BIND 8 only)

diffstat:

 dist/bind/lib/nameser/ns_samedomain.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 355ea4971ff4 -r 69e9cbb225c8 dist/bind/lib/nameser/ns_samedomain.c
--- a/dist/bind/lib/nameser/ns_samedomain.c     Fri Nov 15 00:46:09 2002 +0000
+++ b/dist/bind/lib/nameser/ns_samedomain.c     Fri Nov 15 00:47:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ns_samedomain.c,v 1.1.1.1 1999/11/20 18:54:11 veego Exp $      */
+/*     $NetBSD: ns_samedomain.c,v 1.1.1.1.10.1 2002/11/15 00:47:45 lukem Exp $ */
 
 /*
  * Copyright (c) 1995,1999 by Internet Software Consortium.
@@ -168,7 +168,7 @@
 ns_makecanon(const char *src, char *dst, size_t dstsize) {
        size_t n = strlen(src);
 
-       if (n + sizeof "." > dstsize) {
+       if (n + sizeof "." + 1 > dstsize) {
                errno = EMSGSIZE;
                return (-1);
        }



Home | Main Index | Thread Index | Old Index