summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-04-17 18:57:58 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-04-17 18:57:58 +0200
commitd9ea4a71b9438507fd28413259b22123df20f8ee (patch)
treef3cfb1d39af8140a1aafa2591f6111f4201d16ec /sys
parent66aa9490398fa43d1bbec73f0e12899582a73fe7 (diff)
secstore: fix gfile/pfile/rfile array sizes
need to have one more entry for terminating nil
Diffstat (limited to 'sys')
-rw-r--r--sys/src/cmd/auth/secstore/secstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/auth/secstore/secstore.c b/sys/src/cmd/auth/secstore/secstore.c
index 1a50e4535..bea3ec3d0 100644
--- a/sys/src/cmd/auth/secstore/secstore.c
+++ b/sys/src/cmd/auth/secstore/secstore.c
@@ -490,7 +490,7 @@ main(int argc, char **argv)
int chpass = 0, pass_stdin = 0, pass_nvram = 0, rc;
int ngfile = 0, npfile = 0, nrfile = 0, Gflag[MAXFILES+1];
char *serve, *tcpserve, *user;
- char *gfile[MAXFILES], *pfile[MAXFILES], *rfile[MAXFILES];
+ char *gfile[MAXFILES+1], *pfile[MAXFILES+1], *rfile[MAXFILES+1];
AuthConn *c;
serve = "$auth";