This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ftp bug report


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]