diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-14 17:11:57 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-14 17:11:57 +0000 |
commit | 5b38fdd7044dce34eb20359fb483e6406f8a3e83 (patch) | |
tree | 89f30b4afd63cb0d9469648b1f87c160b7ca4336 /scripts | |
parent | f1283d85832afbe1104cf89b02c0b104385bd2e7 (diff) | |
download | mtk-20170518-5b38fdd7044dce34eb20359fb483e6406f8a3e83.zip mtk-20170518-5b38fdd7044dce34eb20359fb483e6406f8a3e83.tar.gz mtk-20170518-5b38fdd7044dce34eb20359fb483e6406f8a3e83.tar.bz2 |
scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
SVN-Revision: 33773
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/config/lxdialog/lxdialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config/lxdialog/lxdialog.c b/scripts/config/lxdialog/lxdialog.c index 79f6c5f..5b8e3e9 100644 --- a/scripts/config/lxdialog/lxdialog.c +++ b/scripts/config/lxdialog/lxdialog.c @@ -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; } |