cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2803369 ] (FTP) curl has a core dumped fault with "-P -" and IPv6.

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 09 Jun 2009 11:35:35 +0000

Bugs item #2803369, was opened at 2009-06-09 09:44
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2803369&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: crash
>Status: Pending
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Wang Jason (jswang)
Assigned to: Daniel Stenberg (bagder)
Summary: (FTP) curl has a core dumped fault with "-P -" and IPv6.

Initial Comment:
The client modules, curl and libcurl, have a core dumped error with these parameters.
1. IPv6 [-6]
2. PORT mode(active mode) [-P -]
3. Protocol [ftp://]
However, in IPv4 it works fine.

The Detailed Description
1. OS
  FC6

2. Version of curl
  curl -V
  curl 7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 zlib/1.2.3
  Protocols: ftp telnet http file
  Features: IPv6 Largefile libz

3. Action
  $curl -v -g -6 -P - ftp://test:123456@[2001:250:6c01:100::3]:21/

4. Result
  * About to connect() to 2001:250:6c01:100::3 port 21
  * Trying 2001:250:6c01:100::3... connected
  * Connected to 2001:250:6c01:100::3 (2001:250:6c01:100::3) port 21
  < 220 (vsFTPd 2.0.5)
> USER test
  < 331 Please specify the password.
> PASS 123456
  < 230 Login successful.
> PWD
  < 257 "/home/test"
  * Entry path is '/home/test'
> EPRT |2|2001:250:6c01:100::3|34257|
  < 200 EPRT command successful. Consider using EPSV.
  * Connect data stream actively
> TYPE A
  < 200 Switching to ASCII mode.
> LIST
  < 150 Here comes the directory listing.
  * Connection accepted from server
  *** stack smashing detected ***: curl terminated
アボートしました (core dumped)

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2009-06-09 13:35

Message:
This bug is reported in an older version and seems to have been corrected
in a more recent version.

If you can please upgrade and try it again with the latest version, it
would help a lot!

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2803369&group_id=976
Received on 2009-06-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET