mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33773 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
012639a111
commit
bb31968b55
@ -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]),
|
||||
ac == 6 ? av[5] : (char *)NULL);
|
||||
if (ret == 0)
|
||||
fprintf(stderr, dialog_input_result);
|
||||
fprintf(stderr, "%s", dialog_input_result);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user