[curl/curl] f4b85d: lib: remove strlen call from Curl_client_write

Jacob Hoffman-Andrews <[email protected]>
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: f4b85d24b21058215dd67e1c804d47c7b4ee2fda
      https://github.com/curl/curl/commit/f4b85d24b21058215dd67e1c804d47c7b4ee2fda
  Author: Jacob Hoffman-Andrews <[email protected]>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

  Changed paths:
    M lib/file.c
    M lib/ftp.c
    M lib/openldap.c
    M lib/sendf.c

  Log Message:
  -----------
  lib: remove strlen call from Curl_client_write

At all call sites with an explicit 0 len, pass an appropriate nonzero
len.

Closes #6954


  Commit: 5c932f8fe9dad94a7417702958ffa9e8db67c549
      https://github.com/curl/curl/commit/5c932f8fe9dad94a7417702958ffa9e8db67c549
  Author: Jacob Hoffman-Andrews <[email protected]>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

  Changed paths:
    M lib/content_encoding.c
    M lib/pop3.c
    M lib/sendf.c
    M lib/transfer.c

  Log Message:
  -----------
  lib: fix 0-length Curl_client_write calls

Closes #6954


Compare: https://github.com/curl/curl/compare/6aae7b1761c0...5c932f8fe9da
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.