| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Thu, 19 Feb 2004 18:37:30 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: ftp bug report |
| Message-ID: | <20040219173729.GE32331@cygbert.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <20040219133158 DOT 89862 DOT qmail AT web14305 DOT mail DOT yahoo DOT com> <20040219160236 DOT GD32331 AT cygbert DOT vinschen DOT de> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <20040219160236.GD32331@cygbert.vinschen.de> |
| User-Agent: | Mutt/1.4.2i |
On Feb 19 17:02, Corinna Vinschen wrote:
> On Feb 19 05:31, Thomas Mellman wrote:
> > ftp> nmap $1;$2 $1
> > ftp> case
> > Case mapping on.
> > ftp> get mspp_i_seq.h
> > 200 PORT command successful.
> > 150 Opening data connection for somewhere:MSPP_I_SEQ.H;1 (x.x.x.x,y)
> > Segmentation fault (core dumped)
>
> FYI, I can reproduce it now. I really didn't know about that nmap
> command, I never used it before.
I fixed the bug (which could only show up when using nmap) and uploaded
a new version of inetutils.
As an exercise for the reader:
buf = (char *) malloc (size);
to = buf;
[...]
if (newsize > size)
buf = realloc (buf, newsize);
while (newsize--)
*to++ = *src++;
What's wrong with this picture?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |