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-1783162 ] Segfault in sendf.c[180]

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 28 Aug 2007 04:59:51 -0700

Bugs item #1783162, was opened at 2007-08-28 11:44
Message generated for change (Comment added) made by phillip-berndt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1783162&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: libcurl
Group: crash
Status: Open
Resolution: Fixed
Priority: 6
Private: No
Submitted By: Phillip Berndt (phillip-berndt)
Assigned to: Daniel Stenberg (bagder)
Summary: Segfault in sendf.c[180]

Initial Comment:
See this bug from curlftpfs project:
http://sourceforge.net/tracker/index.php?func=detail&aid=1782882&group_id=160565&atid=816357

I don't know if the bug is in the other project's code. However, curl should not segfault ;) Regard this as a FYI.

I'll attach a (purely cosmetic) patch for sendf.c. I didn't really understand the problem so I have not been able to write a better one.

Tested with curlftpfs 0.9.1 / curl 7.16.4

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

>Comment By: Phillip Berndt (phillip-berndt)
Date: 2007-08-28 13:59

Message:
Logged In: YES
user_id=1615529
Originator: YES

Correct. Thanks.

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

Comment By: Daniel Stenberg (bagder)
Date: 2007-08-28 12:47

Message:
Logged In: YES
user_id=1110
Originator: NO

I'm quite sure this is because libcurl tries to write to a constant string
which is badness. This problem has been fixed in CVS already and it would
be nice if you could try that out to verify this!

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1783162&group_id=976
Received on 2007-08-29

These mail archives are generated by hypermail.

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

File upload with ASP.NET