--Apple-Mail-16-834315687
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On 31.03.2005, at 15:55, Andrew Atrens wrote:
>
> Folks,
>
> telnet started coredumping on me today...
>
> Not sure how long this has been there but I found the following
> lurking in telnet.c. I #if 0 it out (as below) the coredumping stops.
> Not 100% of the correct fix. But the calculation of 'len' in the
> removed case is guaranteed to be negative. Later on this number is
> used to size a memcpy() which of course blows up. :)
thanks, fixed.
cheers
simon
--
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
--Apple-Mail-16-834315687
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCTCFAr5S+dk6z85oRAtj9AJ0bq8cnYobds9dqWEaBJnU49nuhbgCeO6NZ
4GaLggrr6oOZEKgg2B9q9JA=
=bYpo
-----END PGP SIGNATURE-----
--Apple-Mail-16-834315687--