commit | d7a622b57231d4e9097c790650859aa9f7364581 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Mon Feb 04 16:16:30 2019 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 14 14:40:57 2019 +0100 |
tree | bc024c4c9eeab2ae9758ea30c4d9e3245940649d | |
parent | 256ee622249830d102c58edccf893104a4a34037 [diff] |
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>