diff options
author | Akos Somfai <akos.somfai@gmail.com> | 2023-04-03 22:52:06 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2023-04-12 13:49:14 +0200 |
commit | 853cfe927fd656a2688ac2bfc81c69e1004c44df (patch) | |
tree | a31e9cccf8b225e430fb4c01c786213752d4441d /arch | |
parent | 550e6d8fbd05ea0ab60ff3e542327efb4e9cc254 (diff) | |
download | busybox-w32-853cfe927fd656a2688ac2bfc81c69e1004c44df.tar.gz busybox-w32-853cfe927fd656a2688ac2bfc81c69e1004c44df.tar.bz2 busybox-w32-853cfe927fd656a2688ac2bfc81c69e1004c44df.zip |
lineedit: fix crash when icanon set with -echo
When icanon is set with -echo (e.g. ssh from an emacs shell) then
S.state will remain null but later it will be deferenced causing ash to
crash. Fix: additional check on state.
Signed-off-by: Akos Somfai <akos.somfai@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions