From ada24b4005504a9cc8035987cf5175940ae568a7 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 10 May 2008 13:35:19 -0400 Subject: misc: array bounds fixes that gcc finds (John Gosset) --- src/cmd/eqn/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/eqn') diff --git a/src/cmd/eqn/main.c b/src/cmd/eqn/main.c index 518c6b94..677fe192 100644 --- a/src/cmd/eqn/main.c +++ b/src/cmd/eqn/main.c @@ -7,7 +7,7 @@ char *version = "version Oct 24, 1991"; -char in[MAXLINE]; /* input buffer */ +char in[MAXLINE+1]; /* input buffer */ int noeqn; char *cmdname; -- cgit v1.2.3