Permalink
Browse files

Make array argv the right size

  • Loading branch information...
dp111 authored and RMerl committed Feb 11, 2019
1 parent af3452a commit 19c271ed5c7374a0563d1be9ab6c4f183a8c6e4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 release/src/router/pppd_245/ppp/pppd/plugins/passprompt.c
@@ -50,7 +50,7 @@ static int promptpass(char *user, char *passwd)
}
if (!kid) {
/* we are the child, exec the program */
char *argv[4], fdstr[32];
char *argv[5], fdstr[32];
sys_close();
closelog();
close(p[0]);

0 comments on commit 19c271e

Please sign in to comment.