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



details:   https://anonhg.NetBSD.org/src/rev/fd4e7ac9fc8f
branches:  netbsd-1-6
changeset: 528183:fd4e7ac9fc8f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:43:22 2002 +0000

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

diffstat:

 dist/bind/lib/dst/eay_dss_link.c |  22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diffs (53 lines):

diff -r ba10bd4a4f79 -r fd4e7ac9fc8f dist/bind/lib/dst/eay_dss_link.c
--- a/dist/bind/lib/dst/eay_dss_link.c  Fri Jun 28 11:43:13 2002 +0000
+++ b/dist/bind/lib/dst/eay_dss_link.c  Fri Jun 28 11:43:22 2002 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: eay_dss_link.c,v 1.3 2001/05/17 23:00:18 itojun Exp $  */
+/*     $NetBSD: eay_dss_link.c,v 1.3.2.1 2002/06/28 11:43:22 lukem Exp $       */
 
 #ifdef EAY_DSS
-static const char rcsid[] = "Header: /proj/cvs/isc/bind8/src/lib/dst/eay_dss_link.c,v 1.5 2001/04/05 22:00:03 bwelling Exp";
+static const char rcsid[] = "Header: /proj/cvs/isc/bind8/src/lib/dst/eay_dss_link.c,v 1.6 2001/05/29 05:48:09 marka Exp";
 
 /*
  * Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@@ -46,6 +46,7 @@
 
 #include "port_after.h"
 
+
 static int dst_eay_dss_sign(const int mode, DST_KEY *dkey, void **context,
                            const u_char *data, const int len,
                            u_char *signature, const int sig_len);
@@ -73,7 +74,7 @@
  *         EAY DSS related functions 
  */
 int
-dst_eay_dss_init()
+dst_eay_dss_init(void)
 {
        if (dst_t_func[KEY_DSA] != NULL)
                return (1);
@@ -610,8 +611,21 @@
                return (0);
 }
 #else 
+#include "port_before.h"
+
+#include <stdio.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
+#include <memory.h>
+#include <sys/param.h>
+#include <sys/time.h>
+#include <netinet/in.h>
+
+#include "dst_internal.h"
+#include "port_after.h"
 int
-dst_eay_dss_init() 
+dst_eay_dss_init(void) 
 {
        return (0);
 }



Home | Main Index | Thread Index | Old Index