diff options
author | Russ Cox <rsc@swtch.com> | 2008-05-10 13:35:19 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-05-10 13:35:19 -0400 |
commit | ada24b4005504a9cc8035987cf5175940ae568a7 (patch) | |
tree | 51def5fcbc79322c17ff8eb56c3734dc5a5d7060 /src/cmd/eqn | |
parent | 77809fb0cc7c9ff07f0ecd319240c8e3ee2c9528 (diff) | |
download | plan9port-ada24b4005504a9cc8035987cf5175940ae568a7.tar.gz plan9port-ada24b4005504a9cc8035987cf5175940ae568a7.tar.bz2 plan9port-ada24b4005504a9cc8035987cf5175940ae568a7.zip |
misc: array bounds fixes that gcc finds (John Gosset)
Diffstat (limited to 'src/cmd/eqn')
-rw-r--r-- | src/cmd/eqn/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |