From owner-freebsd-bugs Sun Jul 15 13:30: 4 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6645737B403 for ; Sun, 15 Jul 2001 13:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6FKU1C15148; Sun, 15 Jul 2001 13:30:01 -0700 (PDT) (envelope-from gnats) Date: Sun, 15 Jul 2001 13:30:01 -0700 (PDT) Message-Id: <200107152030.f6FKU1C15148@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Heffner Subject: RE: bin/28990: ftp(1) has stack overflow when "mget *", etc. Reply-To: Mike Heffner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/28990; it has been noted by GNATS. From: Mike Heffner To: SASAKI Taroh 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 Fredericksburg, VA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message