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-1776232 ] Modification of constant string causes crash

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 17 Aug 2007 05:53:10 -0700

Bugs item #1776232, was opened at 2007-08-17 09:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1776232&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robson Braga Araujo (braga)
Assigned to: Daniel Stenberg (bagder)
Summary: Modification of constant string causes crash

Initial Comment:
In ftp.c the following call causes a crash:

result = Curl_client_write(conn, CLIENTWRITE_BOTH, (char *)"Accept-ranges: bytes\r\n", 0);

Just seeing that you need a type conversion there is a very huge sign that something is wrong. It actually crashes when it tries to modify the string inside Curl_client_write.

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET