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/fsinfo pull up rev 1.8 from trunk (request...
details: https://anonhg.NetBSD.org/src/rev/7ad1ae84f8d3
branches: netbsd-1-4
changeset: 469443:7ad1ae84f8d3
user: cgd <cgd%NetBSD.org@localhost>
date: Tue Sep 21 04:57:16 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/fsinfo/fsi_gram.y | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 5a8974f8dc6d -r 7ad1ae84f8d3 usr.sbin/amd/fsinfo/fsi_gram.y
--- a/usr.sbin/amd/fsinfo/fsi_gram.y Tue Sep 21 04:57:11 1999 +0000
+++ b/usr.sbin/amd/fsinfo/fsi_gram.y Tue Sep 21 04:57:16 1999 +0000
@@ -38,12 +38,12 @@
*
* %W% (Berkeley) %G%
*
- * Id: fsi_gram.y,v 1.2 1999/01/10 21:54:28 ezk Exp
+ * Id: fsi_gram.y,v 1.3 1999/04/16 14:21:14 ezk Exp
*
*/
%{
-/* $NetBSD: fsi_gram.y,v 1.7 1999/02/01 19:05:12 christos Exp $ */
+/* $NetBSD: fsi_gram.y,v 1.7.2.1 1999/09/21 04:57:16 cgd Exp $ */
#ifdef HAVE_CONFIG_H
# include <config.h>
@@ -52,6 +52,22 @@
#include <fsi_data.h>
#include <fsinfo.h>
+/* AIX requires this to be the first thing in the file. */
+#ifndef __GNUC__
+# if HAVE_ALLOCA_H
+# include <alloca.h>
+# else /* not HAVE_ALLOCA_H */
+# ifdef _AIX
+#pragma alloca
+# else /* not _AIX */
+# ifndef alloca
+ /* predefined by HP cc +Olibcalls */
+voidp alloca();
+# endif /* not alloca */
+# endif /* not _AIX */
+# endif /* not HAVE_ALLOCA_H */
+#endif /* not __GNUC__ */
+
extern qelem *list_of_hosts, *list_of_automounts;
%}
Home |
Main Index |
Thread Index |
Old Index