freebsd-dev/lib/libedit
Jilles Tjoelker fbdcf603c8 libedit: Avoid out of bounds read in 'bind' command
This is CVS revision 1.31 from NetBSD lib/libedit/chartype.c:
Make sure that argv is NULL terminated since functions like tty_stty rely
on it to be so (Gerry Swinslow)

This broke when the wide-character support was enabled in libedit. The
conversion from multibyte to wide-character did not supply the apparently
expected terminating NULL in the new argv array.

PR:		233343
Submitted by:	Yuichiro NAITO
Obtained from:	NetBSD
MFC after:	1 week
2019-01-16 21:59:18 +00:00
..
edit/readline MFV r312996: 2017-01-30 22:11:53 +00:00
TEST MFV 312999: 2017-01-30 23:00:51 +00:00
chared.c MFV r312996: 2017-01-30 22:11:53 +00:00
chared.h MFV r312996: 2017-01-30 22:11:53 +00:00
chartype.c libedit: Avoid out of bounds read in 'bind' command 2019-01-16 21:59:18 +00:00
chartype.h libedit: improve multibyte support 2018-11-26 08:16:33 +00:00
common.c MFV 312999: 2017-01-30 23:00:51 +00:00
config.h MFV r312996: 2017-01-30 22:11:53 +00:00
editline.3 editline.3: Add missing argument to H_SET description 2017-04-28 21:05:28 +00:00
editrc.5
el.c libedit: improve multibyte support 2018-11-26 08:16:33 +00:00
el.h libedit: improve multibyte support 2018-11-26 08:16:33 +00:00
eln.c MFV r312996: 2017-01-30 22:11:53 +00:00
emacs.c MFV r312996: 2017-01-30 22:11:53 +00:00
filecomplete.c MFV r312996: 2017-01-30 22:11:53 +00:00
filecomplete.h
hist.c MFV r312996: 2017-01-30 22:11:53 +00:00
hist.h MFV r312996: 2017-01-30 22:11:53 +00:00
histedit.h MFV r312996: 2017-01-30 22:11:53 +00:00
history.c MFV r312996: 2017-01-30 22:11:53 +00:00
keymacro.c MFV r312996: 2017-01-30 22:11:53 +00:00
keymacro.h MFV r295360 2016-02-07 15:26:21 +00:00
Makefile libedit: sort the Makefile in line with NetBSD's version. 2018-01-29 22:38:23 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
makelist MFV r312996: 2017-01-30 22:11:53 +00:00
map.c lib: Fix several typos and minor errors 2017-12-27 03:23:41 +00:00
map.h
parse.c MFV r312996: 2017-01-30 22:11:53 +00:00
parse.h
prompt.c MFV r312996: 2017-01-30 22:11:53 +00:00
prompt.h MFV r312996: 2017-01-30 22:11:53 +00:00
read.c libedit: improve multibyte support 2018-11-26 08:16:33 +00:00
read.h MFV r312996: 2017-01-30 22:11:53 +00:00
readline.c MFV r312996: 2017-01-30 22:11:53 +00:00
refresh.c lib: Fix several typos and minor errors 2017-12-27 03:23:41 +00:00
refresh.h MFV r312996: 2017-01-30 22:11:53 +00:00
search.c MFV r312996: 2017-01-30 22:11:53 +00:00
search.h MFV r312996: 2017-01-30 22:11:53 +00:00
sig.c MFV r312996: 2017-01-30 22:11:53 +00:00
sig.h MFV r312996: 2017-01-30 22:11:53 +00:00
sys.h MFV r312996: 2017-01-30 22:11:53 +00:00
terminal.c MFV 312999: 2017-01-30 23:00:51 +00:00
terminal.h MFV r312996: 2017-01-30 22:11:53 +00:00
tokenizer.c MFV r312996: 2017-01-30 22:11:53 +00:00
tty.c MFV 312999: 2017-01-30 23:00:51 +00:00
tty.h MFV r312996: 2017-01-30 22:11:53 +00:00
vi.c MFV 312999: 2017-01-30 23:00:51 +00:00