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/amd pull up rev 1.8 from trunk (requested ...



details:   https://anonhg.NetBSD.org/src/rev/64d0b6b98282
branches:  netbsd-1-4
changeset: 469426:64d0b6b98282
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Sep 21 04:54:59 1999 +0000

description:
pull up rev 1.8 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/amd/amq_svc.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 3ea32e672961 -r 64d0b6b98282 usr.sbin/amd/amd/amq_svc.c
--- a/usr.sbin/amd/amd/amq_svc.c        Tue Sep 21 04:54:54 1999 +0000
+++ b/usr.sbin/amd/amd/amq_svc.c        Tue Sep 21 04:54:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amq_svc.c,v 1.7 1999/02/01 19:05:09 christos Exp $     */
+/*     $NetBSD: amq_svc.c,v 1.7.2.1 1999/09/21 04:54:59 cgd Exp $      */
 
 /*
  * Copyright (c) 1997-1999 Erez Zadok
@@ -40,7 +40,7 @@
  *
  *      %W% (Berkeley) %G%
  *
- * Id: amq_svc.c,v 1.2 1999/01/10 21:53:44 ezk Exp 
+ * Id: amq_svc.c,v 1.3 1999/08/24 21:31:06 ezk Exp 
  *
  */
 
@@ -61,7 +61,9 @@
     amq_string amqproc_mnttree_1_arg;
     amq_string amqproc_umnt_1_arg;
     amq_setopt amqproc_setopt_1_arg;
+#ifdef ENABLE_AMQ_MOUNT
     amq_string amqproc_mount_1_arg;
+#endif /* ENABLE_AMQ_MOUNT */
   } argument;
   char *result;
   xdrproc_t xdr_argument, xdr_result;
@@ -111,11 +113,13 @@
     local = (amqsvcproc_t) amqproc_getmntfs_1_svc;
     break;
 
+#ifdef ENABLE_AMQ_MOUNT
   case AMQPROC_MOUNT:
     xdr_argument = (xdrproc_t) xdr_amq_string;
     xdr_result = (xdrproc_t) xdr_int;
     local = (amqsvcproc_t) amqproc_mount_1_svc;
     break;
+#endif /* ENABLE_AMQ_MOUNT */
 
   case AMQPROC_GETVERS:
     xdr_argument = (xdrproc_t) xdr_void;



Home | Main Index | Thread Index | Old Index