Search
Items tagged with: curl
Adhere to CI=true environment variable to hide #curl's progress bar?
github.com/curl/curl/discussio…
Adhere to CI=true environment variable to hide progress bar · curl curl · Discussion #17838
There is a de facto environment variable CI=true that is enabled on CI platforms like GitHub, GitLab and Jenkins. Tools such as pip and yarn listen to this and make their output less chatty. In man...GitHub
1.Download curl.se using #curl built to use OpenSSL (that is over HTTPS in case Mastodon hides the scheme for you)
2. count number of allocations made with heaptrack
3. pause for gasping
4. double-check that curl only does 134 allocs itself, independently of the downloaded size
5. check the heaptrack number again
54,000
hm
I posted "writing C for #curl" just a short while ago, which is relevant to the recent "C mistake" graphs.
daniel.haxx.se/blog/2025/04/07…
Writing C for curl
It is a somewhat common question to me: how do we write C in curl to make it safe and secure for billions of installations? Some precautions we take and decisions we make. There is no silver bullet, just guidelines.daniel.haxx.se
You can follow along with the stream of security reports submitted to #curl by watching the ones we make public:
Per project policy, we make ALL reports public. (For practical reasons we have so far focused on getting everything submitted during 2025 disclosed. Hackerone has no method to disclose in bulk or automated, so it is a highly manual and tedious process involving a lot of clicks per single report)
C mistakes among the vulnerabilities present in #curl code
(C mistakes are vulnerabilities that were caused by a mistake that "probably would not have been possible" had we not been using C for curl. Manually assessed for each case.)
Vulnerability distribution present in #curl code
For every moment in time, how many vulnerabilities of different severity were present in code. We know now because these vulnerabilities have been reported and fixed since then.
The peak is at 7.41.0 on 2015-02-25 with 85 vulnerabilities present!
I'm introducing limits per test case in #curl test suite to make sure we don't unintentionally accidentally suddenly use many more allocations or much more concurrent memory than we can allow.
github.com/curl/curl/pull/1782…
runtests: verify maximum memory-use per test by bagder · Pull Request #17821 · curl/curl
The idea here is to set limits per test how many allocations and maximum amount of memory it is allowed to use. This is a means to make sure the number and total size of allocations are kept in che...GitHub
openssl: fix pkcs11 provider available check by piotr-nakraszewicz-red · Pull Request #17804 · curl/curl
Commit f2ce6c4 among other things added the use of own library context instead of the default context. Default context has access to OpenSSL configuration file, own context doesn't have it. The...GitHub
The #curl user survey 2025 analysis is here.
daniel.haxx.se/blog/2025/07/03…
curl user survey 2025 analysis
I'm pleased to announce that once again I have collected the results, generated the graphs and pondered over conclusions to make after the annual curl user survey.daniel.haxx.se
Look, a new #curl option proposed by @icing: '--out-null'
github.com/curl/curl/pull/1780…
curl, new long option '--out-null' by icing · Pull Request #17800 · curl/curl
Add a new commandline option --out-null that discards all response bytes into the void. Replaces non-portable use of '-o /dev/null' with more efficiency. Feature earliest for 8.16.0GitHub
One of my fav graphs of #curl improvement in recent years, is the one showing vulnerabilities reported separated between low/medium and high/critical.
The report frequency has gone up, but they are less critical these days.
docs: fix typos in two files by StargazerCel · Pull Request #17795 · curl/curl
I need to add this hashtag at the end because I am contributing in a project at my university.GitHub
Fixed typos in VULN-DISCLOSURE-POLICY.md by MrMars98 · Pull Request #17796 · curl/curl
I use the hashtag for a project at my universityGitHub
Today we celebrate #curl having been part of OSS-fuzz for eight years. Imagine the amount of junk libcurl APIs have received in this time...
Now #curl and @django are fighting back. Both have published new policies to curb slop security reports.
Full story → socket.dev/blog/django-joins-c… #OpenSource #Django @bagder
Django Joins curl in Pushing Back on AI Slop Security Report...
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.Socket
Just for future reference and if anyone is curious: the seventeen AI slop security reports submitted to #curl (so far):
gist.github.com/bagder/07f7581…
Maybe this will come handy.
AI slop security reports submitted to curl
AI slop security reports submitted to curl. GitHub Gist: instantly share code, notes, and snippets.Gist
Today I added the following paragraph to #curl's hackerone page informing about our bug-bounty program:
Reports are made public
All security reports that are submitted to the curl project are subject for disclosure once they have been dealt with and they are deemed "insensitive". We are an Open Source project for which transparency is important, which then includes showing the world all our security reports as well.
(See hackerone.com/curl )
curl - Bug Bounty Program | HackerOne
The curl Bug Bounty Program enlists the help of the hacker community at HackerOne to make curl more secure.HackerOne
"Flaws in any (#curl) script or compiled artifact which isn't installed by default is not considered to be security vulnerabilities."
github.com/curl/curl/pull/1776…
VULN-DISCLOSURE-POLICY: exclude not installed software by danielgustafsson · Pull Request #17761 · curl/curl
Flaws in any script or compiled artifact which isn't installed by default is not considered to be security vulnerabilities.GitHub
One of these rare chances to get your hands on #curl stickers materializes tomorrow in Rotterdam when I appear at the Joy of Coding conference with a load of stickers waiting for new homes.
Less importantly, I will also talk. joyofcoding.org/daniel_stenber…
Joy of Coding 2025 - June 27, 2025
A one-day conference that celebrates the art, craft, science but foremost the joy of software developmentjoyofcoding.org
cmake: enable soversion by default for OpenHarmony OS by SC404 · Pull Request #17743 · curl/curl
we are using curl lib in OpenHarmony, so we'd like to contribute the build guide, hope it can help developers.GitHub
docs: Reflect that delimiter-separated capath is OpenSSL specific by Keno · Pull Request #17737 · curl/curl
curl passes down the capath directly to the backends. OpenSSL will then delimiter-separate this path internally to support multiple directories (using its certificate hash scheme). However, the oth...GitHub
asyn-: remove redundant NULL check by DCNick3 · Pull Request #17720 · curl/curl
When the code was originally written, entry = NULL was supported. However, after 59e351a this check has became redundant. It will never succeed because the *entry = NULL; statement at the start of ...GitHub
A family of (OpenSSL) forks.
Allow me to give you a glimpse of their differences, similarities and some insights into what it takes to support them all in #curl.
daniel.haxx.se/blog/2025/06/23…
A family of forks
curl supports getting built with eleven different TLS libraries. Six of these libraries are OpenSSL or forks of OpenSSL. Allow me to give you a glimpse of their differences, similarities and some insights into what it takes to support them all.daniel.haxx.se