Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2019 21:59:58 +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-7vhxxsHDZm@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 #11 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jilles
Date: Wed Jan 16 21:59:19 UTC 2019
New revision: 343105
URL: https://svnweb.freebsd.org/changeset/base/343105

Log:
  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

Changes:
  head/lib/libedit/chartype.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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