[v26.1.x] build/deps: upgrade krb5 to 1.22.2#30715
Open
vbotbuildovich wants to merge 3 commits into
Open
Conversation
Replace krb5 1.21.3 with 1.22.2. The memory leak fixes previously applied via patch are included in 1.22 upstream. The NegoEx CVE fixes (CVE-2026-40355, CVE-2026-40356) patch still applies cleanly and is retained until they land upstream. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> (cherry picked from commit 5fffb24)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> (cherry picked from commit 5acac50)
krb5 1.22.2 has a bug where struct kdclist and kdclist_entry are defined inside a KRB5_DNS_LOOKUP conditional, but the functions using them are outside it. When configure doesn't define KRB5_DNS_LOOKUP (as in the Bazel sandbox), the structs are incomplete at compile time. Cherry-pick the upstream fix from master (3c672ca). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> (cherry picked from commit ba231dd)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of PR #30628
Conflict details
devchanges (MODULE.bazel, bazel/thirdparty/gradle.BUILD), with no PR-unique krb5 content. Dropping base-branch merges is standard backport practice.The following files were cherry-picked and may need regeneration:
These files were accepted as-is from the source branch. Before merging,
regenerate them on the target branch to ensure they're correct. For example:
bazel mod deps --lockfile_mode=update