Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/amd/mk-amd-map pull up rev 1.11 from trunk (re...



details:   https://anonhg.NetBSD.org/src/rev/643c4add1297
branches:  netbsd-1-4
changeset: 469455:643c4add1297
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Sep 21 04:58:40 1999 +0000

description:
pull up rev 1.11 from trunk (requested by christos):
  Upgrade amd(8) and related software to fix expoitable stack overflows
  in amq(8), as reported in BUGTRAQ and elsewhere.

diffstat:

 usr.sbin/amd/mk-amd-map/mk-amd-map.c |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (35 lines):

diff -r 9932b761a648 -r 643c4add1297 usr.sbin/amd/mk-amd-map/mk-amd-map.c
--- a/usr.sbin/amd/mk-amd-map/mk-amd-map.c      Tue Sep 21 04:58:32 1999 +0000
+++ b/usr.sbin/amd/mk-amd-map/mk-amd-map.c      Tue Sep 21 04:58:40 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mk-amd-map.c,v 1.10 1999/02/01 19:05:13 christos Exp $ */
+/*     $NetBSD: mk-amd-map.c,v 1.10.2.1 1999/09/21 04:58:40 cgd Exp $  */
 
 /*
  * Copyright (c) 1997-1999 Erez Zadok
@@ -40,7 +40,7 @@
  *
  *      %W% (Berkeley) %G%
  *
- * Id: mk-amd-map.c,v 1.3 1999/01/10 21:54:42 ezk Exp 
+ * Id: mk-amd-map.c,v 1.4 1999/02/04 07:24:50 ezk Exp 
  */
 
 /*
@@ -52,16 +52,6 @@
 #endif /* HAVE_CONFIG_H */
 #include <am_defs.h>
 
-/* dummy variables */
-#if 0
-char *progname;
-pid_t mypid;
-serv_state amd_state;
-int foreground, orig_umask;
-int debug_flags;
-#endif
-char hostname[MAXHOSTNAMELEN];
-
 /* (libdb version 2) uses .db extensions but an old dbm API */
 /* check for libgdbm to distinguish it from linux systems */
 #if defined(DBM_SUFFIX) && !defined(HAVE_LIBGDBM)



Home | Main Index | Thread Index | Old Index