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



details:   https://anonhg.NetBSD.org/src/rev/327681b6d89d
branches:  netbsd-1-6
changeset: 528194:327681b6d89d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:46:06 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/irs/dns_gr.c |  17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diffs (59 lines):

diff -r 36ca4caa659b -r 327681b6d89d dist/bind/lib/irs/dns_gr.c
--- a/dist/bind/lib/irs/dns_gr.c        Fri Jun 28 11:45:47 2002 +0000
+++ b/dist/bind/lib/irs/dns_gr.c        Fri Jun 28 11:46:06 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dns_gr.c,v 1.1.1.1 1999/11/20 18:54:08 veego Exp $     */
+/*     $NetBSD: dns_gr.c,v 1.1.1.1.10.1 2002/06/28 11:46:06 lukem Exp $        */
 
 /*
  * Copyright (c) 1996-1999 by Internet Software Consortium.
@@ -18,7 +18,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "Id: dns_gr.c,v 1.19 1999/01/18 07:46:48 vixie Exp";
+static const char rcsid[] = "Id: dns_gr.c,v 1.20 2001/05/29 05:48:27 marka Exp";
 #endif
 
 /*
@@ -148,6 +148,9 @@
 
 static struct group *
 gr_next(struct irs_gr *this) {
+
+       UNUSED(this);
+
        return (NULL);
 }
 
@@ -166,6 +169,9 @@
 
 static void
 gr_rewind(struct irs_gr *this) {
+
+       UNUSED(this);
+
        /* NOOP */
 }
 
@@ -173,6 +179,11 @@
 gr_list(struct irs_gr *this, const char *name,
        gid_t basegid, gid_t *groups, int *ngroups)
 {
+       UNUSED(this);
+       UNUSED(name);
+       UNUSED(basegid);
+       UNUSED(groups);
+
        *ngroups = 0;
        /* There's some way to do this in Hesiod. */
        return (-1);
@@ -180,6 +191,8 @@
 
 static void
 gr_minimize(struct irs_gr *this) {
+
+       UNUSED(this);
        /* NOOP */
 }
 



Home | Main Index | Thread Index | Old Index