delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/19/12:53:02

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040219124809.0398a868@127.0.0.1>
X-Sender:
Date: Thu, 19 Feb 2004 12:50:20 -0500
To: cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: ftp bug report
In-Reply-To: <20040219173729.GE32331@cygbert.vinschen.de>
References: <20040219133158 DOT 89862 DOT qmail AT web14305 DOT mail DOT yahoo DOT com> <20040219160236 DOT GD32331 AT cygbert DOT vinschen DOT de> <20040219173729 DOT GE32331 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0

At 12:37 PM 2/19/2004, Corinna Vinschen you wrote:
>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?


<as he raises his hand...>
I know, I know.  Pick me, pick me!  Oo!  OOO!   ;-)


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019