-
Notifications
You must be signed in to change notification settings - Fork 603
[AutoPR- Security] Patch glib for CVE-2026-1489 [MEDIUM] #15731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[AutoPR- Security] Patch glib for CVE-2026-1489 [MEDIUM] #15731
Conversation
mfrw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few clarifications requested.
| +#if g_macro__has_attribute(__always_inline__) | ||
| +/* Guard C++ macro for C compilation */ | ||
| +#ifndef __cplusplus | ||
| +#define G_CXX_STD_CHECK_VERSION(v) (0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upstream patch does not modify the macro file.
What is our rationale of doing it ?
| * We use a two pass approach to keep memory management simple | ||
| */ | ||
| result_len = real_tolower (str, len, NULL, locale_type); | ||
| + g_assert (result_len < G_MAXSIZE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch hunk for guniprop looks good w.r.t upstream.
Also, do we not have the allied test file that is modified in the upstream patch ?
Auto Patch glib for CVE-2026-1489.
Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1043778&view=results
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
What does the PR accomplish, why was it needed?
Change Log
Does this affect the toolchain?
YES/NO
Associated issues
Links to CVEs
Test Methodology