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 regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
diff.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
ed.c
Kbuild.src
patch_bbox.c
patch_toybox.c
patch.c patch: implement --dry-run 2018-04-14 16:05:26 +02:00
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