diff options
author | Akos Somfai | 2023-04-03 22:52:06 +0200 |
---|---|---|
committer | Denys Vlasenko | 2023-04-25 16:47:22 +0200 |
commit | 38d2d26a5fec3dfd24493c8b42a90e4c413f80d5 (patch) | |
tree | faba241c05affdc7331237b2caa3d34eaf75142a /shell/hush_test/hush-parsing/bkslash_newline2.right | |
parent | 384cd2e436e9b15a7ffe2bf93260d94992dc1193 (diff) | |
download | busybox-38d2d26a5fec3dfd24493c8b42a90e4c413f80d5.zip busybox-38d2d26a5fec3dfd24493c8b42a90e4c413f80d5.tar.gz |
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 'shell/hush_test/hush-parsing/bkslash_newline2.right')
0 files changed, 0 insertions, 0 deletions