Commit 1aa82dec authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

- Robson Braga Araujo filed bug report #1776232

  (http://curl.haxx.se/bug/view.cgi?id=1776232) about libcurl calling
  Curl_client_write(), passing on a const string that the caller may not
  modify and yet it does (on some platforms).
parent 014fe697
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -7,6 +7,11 @@
                                  Changelog
                                  Changelog


Daniel S (18 August 2007)
Daniel S (18 August 2007)
- Robson Braga Araujo filed bug report #1776232
  (http://curl.haxx.se/bug/view.cgi?id=1776232) about libcurl calling
  Curl_client_write(), passing on a const string that the caller may not
  modify and yet it does (on some platforms).

- Robson Braga Araujo filed bug report #1776235
- Robson Braga Araujo filed bug report #1776235
  (http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY
  (http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY
  on a directory would do a "SIZE (null)" request. This is now fixed and test
  on a directory would do a "SIZE (null)" request. This is now fixed and test
+1 −0
Original line number Original line Diff line number Diff line
@@ -42,6 +42,7 @@ This release includes the following bugfixes:
 o no NTLM unicode response
 o no NTLM unicode response
 o resume HTTP PUT using Digest authentication
 o resume HTTP PUT using Digest authentication
 o FTP NOBODY requests on directories sent "SIZE (null)"
 o FTP NOBODY requests on directories sent "SIZE (null)"
 o FTP NOBODY request on file crash


This release includes the following known bugs:
This release includes the following known bugs:


+2 −2
Original line number Original line Diff line number Diff line
@@ -2144,8 +2144,8 @@ static CURLcode ftp_state_rest_resp(struct connectdata *conn,
  default:
  default:
#ifdef CURL_FTP_HTTPSTYLE_HEAD
#ifdef CURL_FTP_HTTPSTYLE_HEAD
    if (ftpcode == 350) {
    if (ftpcode == 350) {
      result = Curl_client_write(conn, CLIENTWRITE_BOTH,
      char buffer[24]= { "Accept-ranges: bytes\r\n" };
                               (char *)"Accept-ranges: bytes\r\n", 0);
      result = Curl_client_write(conn, CLIENTWRITE_BOTH, buffer, 0);
      if(result)
      if(result)
        return result;
        return result;
    }
    }