Go to file
Natanael Copa 9c7165e96a
lib: use wrapper for curl_mime_data fseek callback
fseek uses long offset which does not match with curl_off_t. This leads
to undefined behavior when calling the callback and caused failure on
arm 32 bit.

Use a wrapper to solve this and use fseeko which uses off_t instead of
long.

Thanks to the nice people at Libera IRC #musl for helping finding this
out.

Fixes #11882
Fixes #11900
Closes #11918
2023-09-25 20:03:09 +02:00
.circleci CI: run Circle macOS builds on x86 for now 2023-09-05 22:53:40 -07:00
.github GHA/linux: run singleuse to detect single-use global functions 2023-09-25 17:06:09 +02:00
.reuse cmake: add support for single libcurl compilation pass 2023-08-01 08:12:26 +00:00
CMake tftpd: always use curl's own tftp.h 2023-09-21 08:47:07 +02:00
docs url: fix netrc info message 2023-09-24 03:37:13 -04:00
include curl.h: mark CURLSSLBACKEND_NSS as deprecated since 8.3.0 2023-09-21 14:19:56 +02:00
lib lib: use wrapper for curl_mime_data fseek callback 2023-09-25 20:03:09 +02:00
LICENSES copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
m4 cmake, configure: also link with CoreServices 2023-09-20 08:38:19 +02:00
packages lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
plan9 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
projects tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
scripts singleuse: add scan for use in other source codes 2023-09-25 17:05:49 +02:00
src tests: fix compiler warnings 2023-09-24 21:52:54 +00:00
tests tests: fix compiler warnings 2023-09-24 21:52:54 +00:00
winbuild tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
.azure-pipelines.yml mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
.cirrus.yml CI: remove Windows builds from Cirrus, without replacement 2023-08-31 15:18:28 -07:00
.dcignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.dir-locals.el copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.git-blame-ignore-revs copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.gitattributes copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.gitignore tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
.mailmap mailmap: unify Michael Osipov under a single email 2023-09-21 14:18:49 +02:00
acinclude.m4 build: streamline non-UWP wincrypt detections 2023-08-13 13:51:19 +00:00
appveyor.yml mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
buildconf copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
buildconf.bat copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CHANGES
CMakeLists.txt lib: use wrapper for curl_mime_data fseek callback 2023-09-25 20:03:09 +02:00
configure.ac lib: use wrapper for curl_mime_data fseek callback 2023-09-25 20:03:09 +02:00
COPYING copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
GIT-INFO GIT-INFO: add --with-openssl 2023-05-14 23:22:23 +02:00
libcurl.def trace: make tracing available in non-debug builds 2023-08-03 17:32:25 +02:00
libcurl.pc.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
MacOSX-Framework copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am cmake: add support for single libcurl compilation pass 2023-08-01 08:12:26 +00:00
Makefile.dist copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
maketgz copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
README
README.md tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
RELEASE-NOTES RELEASE-NOTES: synced 2023-09-22 10:36:31 +02:00
SECURITY.md SECURITY-PROCESS.md. call it vulnerability disclosure policy 2023-09-14 17:04:33 +02:00

curl logo

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.

Contact

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.

Commercial support

For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.

Website

Visit the curl website for the latest news and downloads.

Git

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)

Security problems

Report suspected security problems via our HackerOne page and not in public.

Notice

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.

Backers

Thank you to all our backers! 🙏 Become a backer.

Sponsors

Support this project by becoming a sponsor.