]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Merge r309638 from head:
authorglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Dec 2016 18:52:33 +0000 (18:52 +0000)
committerglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Dec 2016 18:52:33 +0000 (18:52 +0000)
commit0fb81163267876d0cdbbd51a6c004c0cd69a6d6a
tree6bd74f10b2ba644fb567bbaf2df2ed92527f8d8a
parent5e642c44cc832d0721349efe526e50daa89dbd9d
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/9@309643 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/telnet/telnetd/sys_term.c