busybox/editors
Ron Yorston d08206dce1 vi: correctly detect when a deletion empties the buffer
Michał Berger has reported two issues:

- Repeatedly deleting and undoing the deletion of the last line
  results in characters being lost from the end of the line.

- Deleting the bottom line twice then attempting to undo each of
  these deletions results in a segfault.

The problem seems to be an incorrect test for whether the text buffer
is empty.

Reported-by: Michał Berger <michallinuxstuff@gmail.com>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-12-03 10:07:58 +01:00
..
awk.c awk: abort if NF set to negative value 2018-11-28 12:16:29 +01:00
cmp.c
Config.src
diff.c
ed.c
Kbuild.src
patch_bbox.c
patch_toybox.c
patch.c
sed1line.txt
sed_summary.htm
sed.c sed: fix double-free in FEATURE_CLEAN_UP code 2018-09-25 12:50:54 +02:00
vi.c vi: correctly detect when a deletion empties the buffer 2018-12-03 10:07:58 +01:00