secstore: fix gfile/pfile/rfile array sizes

need to have one more entry for terminating nil
This commit is contained in:
cinap_lenrek 2014-04-17 18:57:58 +02:00
parent 66aa949039
commit d9ea4a71b9

View file

@ -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";