Go to file
ejanchivdorj a63dae5d07
sectransp: fix EXC_BAD_ACCESS caused by uninitialized buffer
When the SecCertificateCopyCommonName function fails, it leaves
common_name in a invalid state so CFStringCompare uses the invalid
result, causing EXC_BAD_ACCESS.

The fix is to check the return value of the function before using the
name.

Closes #7126
2021-05-25 11:22:09 +02:00
.github github: inhibit deprecated declarations for clang on macOS 2021-05-17 22:45:46 +02:00
.muse CI: Add muse CI config 2020-08-04 09:52:52 +02:00
CMake configure: remove use of RETSIGTYPE 2021-04-07 16:01:05 +02:00
docs rustls: switch read_tls and write_tls to callbacks 2021-05-24 16:40:59 +02:00
include CURLOPT_IPRESOLVE: preventing wrong IP version from being used 2021-05-20 16:58:31 +02:00
lib sectransp: fix EXC_BAD_ACCESS caused by uninitialized buffer 2021-05-25 11:22:09 +02:00
m4 rustls: switch read_tls and write_tls to callbacks 2021-05-24 16:40:59 +02:00
packages SSL: support in-memory CA certs for some backends 2021-05-05 02:29:16 -04:00
plan9 copyright: fix year ranges 2020-11-05 08:22:10 +01:00
projects copyright: update copyright year ranges to 2021 2021-03-27 23:00:14 +01:00
scripts scripts/delta: also show total number of days 2021-05-06 10:00:36 +02:00
src curl: include libmetalink version in --version output 2021-05-22 11:29:41 +02:00
tests rustls: switch read_tls and write_tls to callbacks 2021-05-24 16:40:59 +02:00
winbuild winbuild: remove docs from Makefiles and refer to README.md 2020-11-22 23:02:25 +01:00
.azure-pipelines.yml CI/azure: increase verbosity and fix outdated task names 2021-05-16 11:23:59 +02:00
.cirrus.yml CI/cirrus: add shared and static Windows release builds 2021-05-16 11:23:47 +02:00
.dcignore .dcignore: ignore tests and docs directories 2020-06-27 00:07:37 +02:00
.dir-locals.el curl.se: new home 2020-11-04 23:59:47 +01:00
.gitattributes gitattributes: Set batch files to CRLF line endings on checkout 2021-01-14 15:59:56 -05:00
.gitignore .gitignore: add directory containing the stats repo 2020-06-05 19:54:34 +02:00
.lgtm.yml ci: adapt to configure requiring an explicit TLS choice 2021-04-22 23:19:47 +02:00
.mailmap mailmap: Jon Rumsey 2021-02-05 08:46:11 +01:00
.travis.yml rustls: switch read_tls and write_tls to callbacks 2021-05-24 16:40:59 +02:00
CHANGES curl.se: new home 2020-11-04 23:59:47 +01:00
CMakeLists.txt CMake: add CURL_ENABLE_EXPORT_TARGET option 2021-05-25 08:06:19 +02:00
COPYING COPYING/configure: bump copyright year range 2021-01-01 00:52:28 +01:00
GIT-INFO GIT-INFO: suggest using autoreconf instead of buildconf 2021-05-08 10:55:34 +02:00
MacOSX-Framework curl.se: new home 2020-11-04 23:59:47 +01:00
Makefile.am Revert "libcurl.pc: make it relocatable" 2020-11-09 09:13:06 +01:00
Makefile.dist configure: provide --with-openssl, deprecate --with-ssl 2021-04-15 09:08:34 +02:00
README curl.se: new home 2020-11-04 23:59:47 +01:00
README.md README: link to the commercial support option 2021-04-23 08:59:08 +02:00
RELEASE-NOTES RELEASE-NOTES: synced 2021-05-23 00:15:53 +02:00
SECURITY.md SECURITY.md: minor rephrase 2020-03-30 08:53:25 +02:00
acinclude.m4 configure: include <time.h> unconditionally 2021-04-07 16:08:01 +02:00
appveyor.yml ci: adapt to configure requiring an explicit TLS choice 2021-04-22 23:19:47 +02:00
buildconf buildconf: exec autoreconf to avoid additional process 2020-08-29 21:43:49 +02:00
buildconf.bat curl.se: new home 2020-11-04 23:59:47 +01:00
configure.ac quiche: update for network path aware API 2021-05-24 17:26:46 +02:00
curl-config.in curl.se: new home 2020-11-04 23:59:47 +01:00
libcurl.pc.in Revert "libcurl.pc: make it relocatable" 2020-11-09 09:13:06 +01:00
maketgz copyright: fix year ranges 2020-11-05 08:22:10 +01:00

README.md

curl logo

CII Best Practices Coverity passed Travis-CI Build Status AppVeyor Build Status Azure DevOps Build Status Cirrus Build Status Backers on Open Collective Sponsors on Open Collective Language Grade: C/C++ Codacy Badge Fuzzing Status

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: https://curl.se/support.html

Website

Visit the curl website for the latest news and downloads.

Git

To download the very latest source from the Git server do this:

git clone https://github.com/curl/curl.git

(you'll 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. Your logo will show up here with a link to your website. [Become a sponsor]