| commit | c90a3f16b8717dda2f287db41b1bd32ab9bc8f35 | [log] [tgz] |
|---|---|---|
| author | Stefan Eissing <stefan@eissing.org> | Tue Aug 13 13:34:54 2024 +0200 |
| committer | Daniel Stenberg <daniel@haxx.se> | Thu Aug 15 10:16:55 2024 +0200 |
| tree | 0903de0bfa5c279f7b4b28217270796c43c0c99f | |
| parent | 9f23c8f201f55f1a148b41b16a5e71f3385faa5e [diff] |
mime: avoid inifite loop in client reader Curl_mime_read() may go into an infinite loop when called with buffer lengths <= 4. Some encoders, like base64, are not prepared for that. In the client reader for mime data, skip such small reads. The upload buffers will get flushed eventually and larger reads will happen again. Improves robustness of test652 which triggered the loop on blocked sends. Closes #14532
Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.
libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how.
You can find answers to the most frequent questions we get in the FAQ document.
Study the COPYING file for distribution terms.
If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.
All contributors to the project are listed in the THANKS document.
For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.
Visit the curl website for the latest news and downloads.
To download the latest source from the Git server, do this:
git clone https://github.com/curl/curl.git
(you will get a directory named curl created, filled with the source code)
Report suspected security problems via our HackerOne page and not in public.
Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.
Thank you to all our backers! 🙏 Become a backer.
Support this project by becoming a sponsor.