Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2019 22:35:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233343] [libedit] bind command reads out of bounds
Message-ID:  <bug-233343-227-zKnTjcpY6e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233343-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233343-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233343

--- Comment #15 from commit-hook@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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233343-227-zKnTjcpY6e>