aboutsummaryrefslogtreecommitdiff
path: root/klibc-utils/run-init.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-02-04 16:16:30 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2019-02-04 16:16:30 +0100
commit779f96a24c43209be841f9cc0e7715a2c57db487 (patch)
tree0b58a75310a884b29556e4fd0904c3d2486c80a8 /klibc-utils/run-init.c
parente17e8d4b7da27f28956253104218d53328f31995 (diff)
downloadbusybox-779f96a24c43209be841f9cc0e7715a2c57db487.tar.gz
lineedit: fix SEGV in isk, hexedit, ed, closes 11661
fdisk, hexedit and ed calls read_line_edit in libbb/lineedit.c with NULL as first argument. On line 2373 of lineedit.c of busybox version 1.29.3, state->hist_file is referenced without checking the state->flag. This causes segmentation fault on fdisk, hexedit and ed on ARM Cortex-A9. It somehow works on x86_64. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'klibc-utils/run-init.c')
0 files changed, 0 insertions, 0 deletions