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



details:   https://anonhg.NetBSD.org/src/rev/894b25e48ec8
branches:  netbsd-1-4
changeset: 469448:894b25e48ec8
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Sep 21 04:57:47 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/include/am_utils.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 183f2172e838 -r 894b25e48ec8 usr.sbin/amd/include/am_utils.h
--- a/usr.sbin/amd/include/am_utils.h   Tue Sep 21 04:57:40 1999 +0000
+++ b/usr.sbin/amd/include/am_utils.h   Tue Sep 21 04:57:47 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: am_utils.h,v 1.7 1999/02/01 19:05:13 christos Exp $    */
+/*     $NetBSD: am_utils.h,v 1.7.2.1 1999/09/21 04:57:47 cgd Exp $     */
 
 /*
  * Copyright (c) 1997-1999 Erez Zadok
@@ -40,7 +40,7 @@
  *
  *      %W% (Berkeley) %G%
  *
- * Id: am_utils.h,v 1.4 1999/01/13 23:31:20 ezk Exp 
+ * Id: am_utils.h,v 1.6 1999/08/22 05:12:55 ezk Exp 
  *
  */
 
@@ -129,6 +129,8 @@
 /* allocate anything of type ty */
 #define        ALLOC(ty)       ((ty *) xmalloc(sizeof(ty)))
 #define        CALLOC(ty)      ((ty *) xcalloc(1, sizeof(ty)))
+/* simply allocate b bytes */
+#define        SALLOC(b)       xmalloc((b))
 
 /* converting am-filehandles to mount-points */
 #define        fh_to_mp2(fhp, rp) fh_to_mp3(fhp, rp, VLOOK_CREATE)



Home | Main Index | Thread Index | Old Index