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/7fb8afbd045b
branches:  netbsd-1-6
changeset: 528213:7fb8afbd045b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:50:57 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/irp_pw.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 2282b38da439 -r 7fb8afbd045b dist/bind/lib/irs/irp_pw.c
--- a/dist/bind/lib/irs/irp_pw.c        Fri Jun 28 11:50:48 2002 +0000
+++ b/dist/bind/lib/irs/irp_pw.c        Fri Jun 28 11:50:57 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irp_pw.c,v 1.1.1.1 1999/11/20 18:54:09 veego Exp $     */
+/*     $NetBSD: irp_pw.c,v 1.1.1.1.10.1 2002/06/28 11:50:57 lukem Exp $        */
 
 /*
  * Portions Copyright (c) 1996 by Internet Software Consortium.
@@ -18,7 +18,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "Id: irp_pw.c,v 8.1 1999/01/18 07:46:54 vixie Exp";
+static const char rcsid[] = "Id: irp_pw.c,v 8.2 2001/11/01 07:29:26 marka Exp";
 #endif /* LIBC_SCCS and not lint */
 
 /* Extern */
@@ -342,8 +342,10 @@
        if (pw->pw_passwd != NULL)
                free(pw->pw_passwd);
 
+#ifdef HAVE_PW_CLASS
        if (pw->pw_class != NULL)
                free(pw->pw_class);
+#endif
 
        if (pw->pw_gecos != NULL)
                free(pw->pw_gecos);



Home | Main Index | Thread Index | Old Index