Date: Sun, 15 Jul 2001 13:30:01 -0700 (PDT) From: Mike Heffner <mheffner@novacoxmail.com> To: freebsd-bugs@FreeBSD.org Subject: RE: bin/28990: ftp(1) has stack overflow when "mget *", etc. Message-ID: <200107152030.f6FKU1C15148@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/28990; it has been noted by GNATS.
From: Mike Heffner <mheffner@novacoxmail.com>
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 16:20:23 -0400 (EDT)
On 15-Jul-2001 SASAKI Taroh wrote:
|
|>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 = 0;
| if (doswitch)
| pswitch(!proxy);
| ! for (mode = "w", ++argv; *argv != NULL; argv++, mode = "a")
| recvrequest("NLST", temp, *argv, mode, 0, 0);
| if ((code / 100) != COMPLETE) {
| if (errbuf != NULL)
| --- 371,377 ----
| hash = 0;
| if (doswitch)
| pswitch(!proxy);
| ! for (mode = "w"; *++argv != NULL; mode = "a")
| recvrequest("NLST", temp, *argv, mode, 0, 0);
| if ((code / 100) != COMPLETE) {
| if (errbuf != NULL)
Now that I look at this more, this change is nil, there is no change in
behavior. What exactly is the 'illegal stack access' that your program is
detecting and where is it occuring?
Mike
--
Mike Heffner <mheffner@[acm.]vt.edu>
Fredericksburg, VA <mikeh@FreeBSD.org>
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?200107152030.f6FKU1C15148>
