]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Merge r309638 from head:
authorglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Dec 2016 18:52:18 +0000 (18:52 +0000)
committerglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Dec 2016 18:52:18 +0000 (18:52 +0000)
commit16bf45fd8fa0b06c3facf936e3f8dfbc8edb6d75
treea2c5d8b9ae39bb49bcc7c94a0ecc2d8138a70552
parentc84a8ee38557658be09cbba33566f1d5717971cb
Merge r309638 from head:

  When telnetd(8) composes argument list for login(1), an unexpected sequence
  of memory allocation failures combined with insufficient error checking
  could result in the construction and execution of an argument sequence that
  was not intended.

  Fix that treating malloc(3) failures as fatal condition.

Submitted by: brooks
Security: FreeBSD-SA-16:36.telnetd

git-svn-id: svn://svn.freebsd.org/base/stable/10@309642 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/telnet/telnetd/sys_term.c