-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
zlib: backport upstream fix on CRC validation #177053
zlib: backport upstream fix on CRC validation #177053
Conversation
This will be a stdenv rebuild and needs to be (quietly) rebased onto the staging/master merge base and retargeted onto staging. |
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.
when targeting staging
069c275
to
a2b5dad
Compare
Starting zlib 1.2.12, CRC validation has became stricter. This broke Keycloak ≥ 17 in certain situations, for details, see: - keycloak/keycloak#11316 ; - NixOS#170539 This patch makes the CRC validation comprehensive with respect to older or already existing checksums out there.
a2b5dad
to
8335c46
Compare
Builds on x86_64-linux and aarch64-linux. |
Successfully created backport PR #177107 for |
Successfully created backport PR #177108 for |
Description of changes
Starting zlib 1.2.12, CRC validation has become stricter.
This broke Keycloak ≥ 17 in certain situations, for details, see:
This patch makes the CRC validation comprehensive with respect to older
or already existing checksums out there.
I suggest a backport to 22.05 as it is affected by this issue and we are guaranteed to see bug reports due to this.
I tested this patch on a "server system closure" containing Keycloak and much other stuff, but I do not have the hardware to perform the whole universe rebuild, it seems to be working.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes