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.3 (requested by it...



details:   https://anonhg.NetBSD.org/src/rev/cd8a6128e18e
branches:  netbsd-1-6
changeset: 528220:cd8a6128e18e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:53:56 2002 +0000

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

diffstat:

 dist/bind/lib/irs/util.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 36f25929052a -r cd8a6128e18e dist/bind/lib/irs/util.c
--- a/dist/bind/lib/irs/util.c  Fri Jun 28 11:52:46 2002 +0000
+++ b/dist/bind/lib/irs/util.c  Fri Jun 28 11:53:56 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.2 2001/01/27 07:22:04 itojun Exp $  */
+/*     $NetBSD: util.c,v 1.2.2.1 2002/06/28 11:53:56 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: util.c,v 1.11 2000/02/04 08:28:33 vixie Exp";
+static const char rcsid[] = "Id: util.c,v 1.12 2001/05/29 05:49:21 marka Exp";
 #endif
 
 #include "port_before.h"
@@ -91,7 +91,7 @@
         */
        (*this->rewind)(this);
        while ((grp = (*this->next)(this)) != NULL) {
-               if (grp->gr_gid == basegid)
+               if ((gid_t)grp->gr_gid == basegid)
                        continue;
                for (i = 0; grp->gr_mem[i]; i++) {
                        if (!strcmp(grp->gr_mem[i], name)) {



Home | Main Index | Thread Index | Old Index