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


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/


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