mirror of https://github.com/hak5/openwrt.git
scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
SVN-Revision: 33773lede-17.01
parent
f1283d8583
commit
5b38fdd704
|
@ -189,7 +189,7 @@ int j_inputbox(const char *t, int ac, const char *const *av)
|
||||||
int ret = dialog_inputbox(t, av[2], atoi(av[3]), atoi(av[4]),
|
int ret = dialog_inputbox(t, av[2], atoi(av[3]), atoi(av[4]),
|
||||||
ac == 6 ? av[5] : (char *)NULL);
|
ac == 6 ? av[5] : (char *)NULL);
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
fprintf(stderr, dialog_input_result);
|
fprintf(stderr, "%s", dialog_input_result);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue