Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/more Fix stack overflow.
details: https://anonhg.NetBSD.org/src/rev/61ebb2293738
branches: trunk
changeset: 787864:61ebb2293738
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jul 10 08:00:29 2013 +0000
description:
Fix stack overflow.
diffstat:
distrib/utils/more/main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9b65fc5eac54 -r 61ebb2293738 distrib/utils/more/main.c
--- a/distrib/utils/more/main.c Tue Jul 09 20:33:03 2013 +0000
+++ b/distrib/utils/more/main.c Wed Jul 10 08:00:29 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.12 2013/07/03 14:29:28 matt Exp $ */
+/* $NetBSD: main.c,v 1.13 2013/07/10 08:00:29 joerg Exp $ */
/*
* Copyright (c) 1988 Mark Nudelman
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/7/93";
#else
-__RCSID("$NetBSD: main.c,v 1.12 2013/07/03 14:29:28 matt Exp $");
+__RCSID("$NetBSD: main.c,v 1.13 2013/07/10 08:00:29 joerg Exp $");
#endif
#endif /* not lint */
@@ -251,7 +251,7 @@
char **argv;
{
int envargc, argcnt;
- char *envargv[2];
+ char *envargv[3];
/*
* Process command line arguments and MORE environment arguments.
Home |
Main Index |
Thread Index |
Old Index