busybox/miscutils
Denys Vlasenko ca2f831ead hexedit: fixes for redraw and down movement causing SEGV on attempt to access
"Go to:" command was not updating row position, making next "down" movements
for one screenful print empty lines instead of showing the contents.

If the file is whole pages long, "down" movement at EOF was advancing position
+16 bytes, mapping the next portion (entirely past the end of the file),
then finding out that the new position is beyond the EOF, rolling it back
-16 bytes... ending up with this postion pointing *before* the mapped portion.
Any next access (e.g. "move right" key) SEGVs.

function                                             old     new   delta
hexedit_main                                        1170    1184     +14

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-07-23 14:26:55 +02:00
..
adjtimex.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
bbconfig.c bzip2: fix two crashes on corrupted archives 2018-04-08 20:05:04 +02:00
beep.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
chat.c chat: do not die when HANGUP param is missing. Closes 10016 2017-09-05 19:16:40 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
conspy.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
crond.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
crontab.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
dc.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
devfsd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
devmem.c whitespace and comment format fixes, no code changes 2017-10-05 14:40:24 +02:00
fbsplash.c fbsplash: support configurable image position 2018-03-29 18:42:11 +02:00
fbsplash.cfg
flash_eraseall.c libbb: commonalize a bit of little-endian CRC32 table generation code 2018-02-01 10:56:19 +01:00
flash_lock_unlock.c whitespace and comment format fixes, no code changes 2017-10-05 15:33:28 +02:00
flashcp.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
hdparm.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
hexedit.c hexedit: fixes for redraw and down movement causing SEGV on attempt to access 2018-07-23 14:26:55 +02:00
i2c_tools.c xargs: use bb_ask_y_confirmation_FILE() instead of homegrown copy 2018-04-07 15:23:10 +02:00
inotifyd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
Kbuild.src
less.c less: fix fallout from "use common routine to set raw termios" 2018-04-16 10:24:48 +02:00
lsscsi.c lsscsi: fix xchdir("..") from symlink in /sys/bus/scsi/devices 2017-10-22 10:43:43 +02:00
makedevs.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
man.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
microcom.c less,microcom,lineedit: use common routine to set raw termios 2017-09-15 17:14:01 +02:00
mt.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
nandwrite.c nandwrite: cope with old headers which have no MTD_FILE_MODE_RAW 2018-01-14 13:43:31 +01:00
partprobe.c partprobe: make it NOEXEC 2017-08-05 01:46:39 +02:00
raidautorun.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
readahead.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
rfkill.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
runlevel.c runlevel: make it NOEXEC 2017-08-04 17:59:46 +02:00
rx.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
setfattr.c config: add size estimations for a few applets 2018-01-14 12:03:33 +01:00
setserial.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
strings.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
time.c libbb.h: always include sys/resource.h 2018-04-08 17:23:27 +02:00
ttysize.c new NOFORKs: pwdx,kill[all5],ttysize,realpath,readlink NOEXECs: date,resize 2017-08-03 19:03:32 +02:00
ubi_tools.c whitespace and comment format fixes, no code changes 2017-10-05 15:33:28 +02:00
ubirename.c ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE 2017-08-07 16:00:25 +02:00
volname.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
watchdog.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00