[Bug 233343] [libedit] bind command reads out of bounds
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 25 22:53:41 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233343
--- Comment #16 from commit-hook at freebsd.org ---
A commit references this bug:
Author: jilles
Date: Fri Jan 25 22:52:49 UTC 2019
New revision: 343460
URL: https://svnweb.freebsd.org/changeset/base/343460
Log:
MFC r343105: 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
Changes:
_U stable/11/
stable/11/lib/libedit/chartype.c
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-bugs
mailing list