[Bug 233343] [libedit] bind command reads out of bounds

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 24 22:35:34 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233343

--- Comment #15 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jilles
Date: Thu Jan 24 22:34:30 UTC 2019
New revision: 343415
URL: https://svnweb.freebsd.org/changeset/base/343415

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/12/
  stable/12/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