bin/100089: ftp(1): default ftp application of FreeBSD gives
segmentation fault
bruce at cran.org.uk
bruce at cran.org.uk
Mon Jul 14 11:20:05 UTC 2008
The following reply was made to PR bin/100089; it has been noted by GNATS.
From: bruce at cran.org.uk
To: bug-followup at freebsd.org
Cc:
Subject: Re: bin/100089: ftp(1): default ftp application of FreeBSD gives segmentation fault
Date: Mon, 14 Jul 2008 12:16:53 +0100
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
The attached patch should fix the bug on FreeBSD.
--
Bruce Cran
--ReaqsoxgOBHFXBhH
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="main.c.diff"
--- /usr/src/contrib/lukemftp/src/main.c 2005-05-17 04:11:28.000000000 +0100
+++ main.c 2008-07-14 12:08:29.000000000 +0100
@@ -707,6 +707,7 @@
* such commands as invalid.
*/
if (strchr(margv[0], ':') != NULL ||
+ !editing ||
el_parse(el, margc, (const char **)margv) != 0)
#endif /* !NO_EDITCOMPLETE */
fputs("?Invalid command.\n", ttyout);
--ReaqsoxgOBHFXBhH--
More information about the freebsd-bugs
mailing list