Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2001 13:51:09 -0400 (EDT)
From:      Mike Heffner <mheffner@novacoxmail.com>
To:        Chris Faulhaber <jedgar@fxp.org>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/28990: ftp(1) has stack overflow when "mget *", etc.
Message-ID:  <XFMail.20010715135109.mheffner@novacoxmail.com>
In-Reply-To: <200107151730.f6FHU1f96888@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format
--_=XFMail.1.5.0.FreeBSD:20010715135109:57103=_
Content-Type: text/plain; charset=us-ascii


On 15-Jul-2001 Chris Faulhaber wrote:
| The following reply was made to PR bin/28990; it has been noted by GNATS.
| 
| From: Chris Faulhaber <jedgar@fxp.org>
| To: SASAKI Taroh <taroh@taroh.org>
| Cc: freebsd-gnats-submit@FreeBSD.org
| Subject: Re: bin/28990: ftp(1) has stack overflow when "mget *", etc.
| Date: Sun, 15 Jul 2001 13:23:58 -0400
| 
|  --d6Gm4EdcadzBjdND
|  Content-Type: text/plain; charset=us-ascii
|  Content-Disposition: inline
|  Content-Transfer-Encoding: quoted-printable
|  
|  On Sun, Jul 15, 2001 at 08:59:28AM -0700, SASAKI Taroh wrote:
|  >=20
|  > >Fix:
|  > *** usr/src/usr.bin/ftp/util.c  Mon Jul 16 00:45:11 2001
|  > --- usr/src/usr.bin/ftp/util.c.org      Mon Jul 16 00:37:57 2001
|  > ***************
|  > *** 371,377 ****
|  >                   hash =3D 0;
|  >                   if (doswitch)
|  >                           pswitch(!proxy);
|  > !                 for (mode =3D "w", ++argv; *argv !=3D NULL; argv++, mod=
|  e =3D "a")
|  
|  I don't seem to be able to locate this piece of code in util.c.
|  According to cvsweb, the 'fix' has been in the tree since rev 1.1.

Well, the diff is backwards. However, I haven't looked at the code throughly
enough yet to be able to tell whether this is actually a problem.

Mike

-- 
  Mike Heffner         <mheffner@[acm.]vt.edu>
  Fredericksburg, VA       <mikeh@FreeBSD.org>


--_=XFMail.1.5.0.FreeBSD:20010715135109:57103=_
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7UdgNFokZQs3sv5kRAnGSAKCLkPYEPKbbMk5sH/G3h6eiyHeQKQCfXaPg
1ZoWb2wb7lJNhyROb1COFQg=
=WJCg
-----END PGP SIGNATURE-----

--_=XFMail.1.5.0.FreeBSD:20010715135109:57103=_--
End of MIME message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010715135109.mheffner>