Merge from vendor branch HEIMDAL:
authorDavid Rhodus <drhodus@dragonflybsd.org>
Mon, 28 Mar 2005 18:03:32 +0000 (18:03 +0000)
committerDavid Rhodus <drhodus@dragonflybsd.org>
Mon, 28 Mar 2005 18:03:32 +0000 (18:03 +0000)
commit89e3c3309df35c6658222315e8f44fe4375ed66a
treeed28f09fcaa8bbaca14f6dce03dc7d60704603b2
parent26050778cff184e2dca67f11c42cb938e969dbd8
parent52f91ff04ca89ad8e9bf4f2ae88d53089b08a563
Merge from vendor branch HEIMDAL:
Correct a pair of buffer overflows in the telnet(1) command:

CAN-2005-0468) A heap buffer overflow in env_opt_add() and related
functions.

(CAN-2005-0469) A global uninitialized data section buffer overflow in
slc_add_reply() and related functions.

As a result of these vulnerabilities, it may be possible for a malicious
telnet server or active network attacker to cause telnet(1) to execute
arbitrary code with the privileges of the user running it.

These fixes are based in part on patches
Submitted by:   Solar Designer <solar@openwall.com>
With calibration with the FreeBSD security officer: Jacques Vidrine <nectar@freebsd.org>