Date: Mon, 14 Jul 2008 11:20:05 GMT From: bruce@cran.org.uk To: freebsd-bugs@FreeBSD.org Subject: Re: bin/100089: ftp(1): default ftp application of FreeBSD gives segmentation fault Message-ID: <200807141120.m6EBK5li019547@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/100089; it has been noted by GNATS. From: bruce@cran.org.uk To: bug-followup@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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807141120.m6EBK5li019547>