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/bin/named Pull up revision 1.6 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/b498ce7e4460
branches: netbsd-1-6
changeset: 529352:b498ce7e4460
user: lukem <lukem%NetBSD.org@localhost>
date: Fri Nov 15 00:48:19 2002 +0000
description:
Pull up revision 1.6 (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/bin/named/ns_req.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0a742ce08bce -r b498ce7e4460 dist/bind/bin/named/ns_req.c
--- a/dist/bind/bin/named/ns_req.c Fri Nov 15 00:48:09 2002 +0000
+++ b/dist/bind/bin/named/ns_req.c Fri Nov 15 00:48:19 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ns_req.c,v 1.4.2.1 2002/06/28 11:34:35 lukem Exp $ */
+/* $NetBSD: ns_req.c,v 1.4.2.2 2002/11/15 00:48:19 lukem Exp $ */
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)ns_req.c 4.47 (Berkeley) 7/1/91";
@@ -2197,7 +2197,7 @@
/* first just copy over the type_covered, algorithm, */
/* labels, orig ttl, two timestamps, and the footprint */
- if ((dp->d_size - 18) > buflen)
+ if (buflen < 18)
goto cleanup; /* out of room! */
memcpy(cp, cp1, 18);
cp += 18;
Home |
Main Index |
Thread Index |
Old Index