Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2019 22:53:38 +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-xFbAGybv4P@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 #16 from commit-hook@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

--=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-xFbAGybv4P>