Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 19 Feb 2004 18:37:30 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ftp bug report
Message-ID: <20040219173729.GE32331@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20040219133158.89862.qmail@web14305.mail.yahoo.com> <20040219160236.GD32331@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@cygwin.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/

