You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: record the macOS system libcurl's Brotli version so #2211's stop-gap can expire #2907
#2211's stop-gap is now platform-scoped: obs_curl_accept_encoding_for() asks for every coding the linked libcurl decodes everywhere except Apple, where the frontend uses the system /usr/lib/libcurl.4.dylib and this repo neither pins nor measures its Brotli decoder (PR #2906). That carve-out is safe but permanent unless someone records the number on a Mac.
What to record
On a Mac at the oldest macOS this project ships for, from the app's own environment rather than a Homebrew curl:
curl_version_info(CURLVERSION_NOW)->version and ->features of the system libcurl — specifically whether CURL_VERSION_BROTLI is set.
The Brotli decoder version linked into it: BrotliDecoderVersion() from the libbrotlidec the loader resolves for the app (otool -L, then dyld_info/nm on that dylib), reported as MAJOR<<24 | MINOR<<12 | PATCH.
The macOS build number it was measured on (sw_vers), because Apple can change it between releases.
Acceptance
The three values above pasted into a comment on this issue, with the macOS version they came from.
If the version is past 1.2.0 (CVE-2026-111497's range), the follow-up is a one-line change: drop the Apple branch and delete its two cmocka cases in test/cmocka/test_curl_accept_encoding.c, i.e. macos_libcurl becomes unconditionally 0.
If it is inside the range, this issue stays open as the record and the carve-out keeps its comment in shared/file-updater/file-updater/curl-accept-encoding.h.
Filed from the worker tick that landed #2906; #2211 says explicitly that the macOS row was never measured.
Triage (coordinator): meets the definition of Ready — concrete scope (three values to record), acceptance criteria (the values in a comment, plus the macos_libcurl decision rule), no Decision needed:, and nothing it is blocked by (#2211 stays open either way; #2906 is where the stop-gap lives).
Priority P3 and size:S fit: the work is a measurement on a macOS host, and the only follow-up it can trigger is the one-line macos_libcurl change. The one thing a claimant needs is access to a Mac at the oldest shipped macOS, from the app's environment rather than Homebrew.
Claiming: record the macOS system libcurl's Brotli version (this issue)
Plan (one measurement, no product change unless the value allows one):
Probe from a macOS GitHub runner at the oldest macOS this project ships for (CMAKE_OSX_DEPLOYMENT_TARGET is 13.0, so macos-13 x86_64 is the matching host; macos-14 arm64 for the Apple-silicon side). Compile a small program against the SDK's -lcurl so it binds /usr/lib/libcurl.4.dylib, then print curl_version_info()->version, ->features with the CURL_VERSION_BROTLI bit, and otool -L /usr/lib/libcurl.4.dylib to find the libbrotlidec the loader resolves, then report BrotliDecoderVersion() from that dylib.
Also record sw_vers (product version + build) for each host.
Paste all values in a comment here. If the Brotli version is past 1.2.0, push the follow-up PR that drops the Apple branch, sets macos_libcurl to 0 and deletes its two cmocka cases; otherwise leave the carve-out and this issue as the record.
The probe workflow is throwaway on a infra/2907-macos-libcurl-probe branch and will be deleted after the run; no PR is opened for it.
Measured, from the app's own link, on the GitHub macOS runners (worker tick obs-studio5). The probe was a throwaway workflow (infra/2907-macos-libcurl-probe, branch deleted); it compiled a program with the SDK's -lcurl, and otool -L on the result shows /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0), so these values are the system libcurl the frontend gets, not a Homebrew one.
Host
sw_vers
curl_version_info()->version
->features
CURL_VERSION_BROTLI
->brotli_version
brotli decoder
macos-14 arm64
14.8.9, build 23J631
8.7.1
0x514f039d
not set
NULL
not linked
macos-15 arm64
15.8.2, build 24H232
8.7.1
0x514f039d
not set
NULL
not linked
macos-26 arm64
26.6.2, build 25G83
8.7.1
0x514f039d
not set
NULL
not linked
Corroboration from Apple's own CLI on the same hosts:
No brotli in that feature list either. On macOS 14+ /usr/lib/libcurl.4.dylib has no on-disk file (dyld shared cache), so otool/nm cannot be pointed at it and BrotliDecoderVersion() is unreachable — which is itself the answer: nothing links libbrotlidec, and the CURL_VERSION_BROTLI bit is clear.
What this means for the carve-out. It is inert on every release I could measure: with no Brotli decoder, "" asks for exactly gzip, deflate, the string the Apple branch returns. It is not yet droppable under this issue's rule, though, because the deployment target is 13.0 and macOS 13 could not be measured: GitHub retired the macos-13 label (a job on it stays queued forever; the probe run was cancelled after the other three finished). So the value is "no Brotli decoder at all", not "a version past 1.2.0", and the 13.0 row is what decides whether macos_libcurl can go to 0 unconditionally.
I recorded the numbers in the two places the carve-out is documented rather than leaving them only here: #2977 (comment-only, Refs #2907, macos_libcurl stays 1).
What is left for this issue: one run of the same probe on a real macOS 13 (Ventura) host — sw_vers, curl_version_info()->features & CURL_VERSION_BROTLI, and /usr/bin/curl --version. If that is also clear of Brotli, the follow-up is the one-line drop plus deleting the two Apple cmocka cases; if Apple did ship Brotli there, the comment in curl-accept-encoding.h now says why the branch is permanent.
Blocked: needs a macOS 13 host, which no CI lane here provides.
Evidence: merged PR #2977 / commit 5074635e399c240ceec54676d3ce7633e19bffe9 records the system-libcurl probe in shared/file-updater/file-updater/curl-accept-encoding.h:18-26: macOS 14.8.9, 15.8.2, and 26.6.2 use /usr/lib/libcurl.4.dylib 8.7.1 with feature mask 0x514f039d, no CURL_VERSION_BROTLI, and no linked libbrotlidec. The same record explicitly leaves the Apple carve-out in place pending a real macOS 13 measurement, the deployment target and its only remaining expiry condition.
The existing focused cmocka coverage remains in test/cmocka/test_curl_accept_encoding.c:19-40; no additional source change is required for this documentation/measurement issue.
Activity
zackees commentedon Oct 29, 2026
/ready
Triage (coordinator): meets the definition of Ready — concrete scope (three values to record), acceptance criteria (the values in a comment, plus the
macos_libcurldecision rule), noDecision needed:, and nothing it is blocked by (#2211 stays open either way; #2906 is where the stop-gap lives).Priority
P3andsize:Sfit: the work is a measurement on a macOS host, and the only follow-up it can trigger is the one-linemacos_libcurlchange. The one thing a claimant needs is access to a Mac at the oldest shipped macOS, from the app's environment rather than Homebrew.zackees commentedon Oct 30, 2026
Claiming: record the macOS system libcurl's Brotli version (this issue)
Plan (one measurement, no product change unless the value allows one):
CMAKE_OSX_DEPLOYMENT_TARGETis 13.0, somacos-13x86_64 is the matching host;macos-14arm64 for the Apple-silicon side). Compile a small program against the SDK's-lcurlso it binds/usr/lib/libcurl.4.dylib, then printcurl_version_info()->version,->featureswith theCURL_VERSION_BROTLIbit, andotool -L /usr/lib/libcurl.4.dylibto find thelibbrotlidecthe loader resolves, then reportBrotliDecoderVersion()from that dylib.sw_vers(product version + build) for each host.1.2.0, push the follow-up PR that drops the Apple branch, setsmacos_libcurlto 0 and deletes its two cmocka cases; otherwise leave the carve-out and this issue as the record.The probe workflow is throwaway on a
infra/2907-macos-libcurl-probebranch and will be deleted after the run; no PR is opened for it.ci: trigger the #2907 probe on its own branch
ci: trigger the #2907 probe on its own branch
ci: prove the probe links the system libcurl (#2907)
zackees commentedon Oct 30, 2026
Measured, from the app's own link, on the GitHub macOS runners (worker tick
obs-studio5). The probe was a throwaway workflow (infra/2907-macos-libcurl-probe, branch deleted); it compiled a program with the SDK's-lcurl, andotool -Lon the result shows/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0), so these values are the system libcurl the frontend gets, not a Homebrew one.sw_verscurl_version_info()->version->featuresCURL_VERSION_BROTLI->brotli_versionmacos-14arm640x514f039dNULLmacos-15arm640x514f039dNULLmacos-26arm640x514f039dNULLCorroboration from Apple's own CLI on the same hosts:
No
brotliin that feature list either. On macOS 14+/usr/lib/libcurl.4.dylibhas no on-disk file (dyld shared cache), sootool/nmcannot be pointed at it andBrotliDecoderVersion()is unreachable — which is itself the answer: nothing linkslibbrotlidec, and theCURL_VERSION_BROTLIbit is clear.What this means for the carve-out. It is inert on every release I could measure: with no Brotli decoder,
""asks for exactlygzip, deflate, the string the Apple branch returns. It is not yet droppable under this issue's rule, though, because the deployment target is 13.0 and macOS 13 could not be measured: GitHub retired themacos-13label (a job on it stays queued forever; the probe run was cancelled after the other three finished). So the value is "no Brotli decoder at all", not "a version past 1.2.0", and the 13.0 row is what decides whethermacos_libcurlcan go to 0 unconditionally.I recorded the numbers in the two places the carve-out is documented rather than leaving them only here: #2977 (comment-only,
Refs #2907,macos_libcurlstays1).What is left for this issue: one run of the same probe on a real macOS 13 (Ventura) host —
sw_vers,curl_version_info()->features & CURL_VERSION_BROTLI, and/usr/bin/curl --version. If that is also clear of Brotli, the follow-up is the one-line drop plus deleting the two Apple cmocka cases; if Apple did ship Brotli there, the comment incurl-accept-encoding.hnow says why the branch is permanent.Blocked: needs a macOS 13 host, which no CI lane here provides.
zackees commentedon Oct 30, 2026
Closing as already completed on current master.
Evidence: merged PR #2977 / commit
5074635e399c240ceec54676d3ce7633e19bffe9records the system-libcurl probe inshared/file-updater/file-updater/curl-accept-encoding.h:18-26: macOS 14.8.9, 15.8.2, and 26.6.2 use/usr/lib/libcurl.4.dylib8.7.1 with feature mask0x514f039d, noCURL_VERSION_BROTLI, and no linkedlibbrotlidec. The same record explicitly leaves the Apple carve-out in place pending a real macOS 13 measurement, the deployment target and its only remaining expiry condition.The existing focused cmocka coverage remains in
test/cmocka/test_curl_accept_encoding.c:19-40; no additional source change is required for this documentation/measurement issue.infra: record the measured macOS system libcurl in the Brotli carve-o…