gettext: backport upstream memory safety fix#423179
Conversation
This fixes building perlPackages.Po4a on musl. While we haven't seen it with Glibc, I have no reason to believe the bug is musl-specific. Fixes: 74042ae ("gettext: 0.22.5 -> 0.25")
|
Has this been merged upstream yet? A link to the source of the patch and where to track its progress would be good. This patch looks larger than it needs to be. Assuming the issues are use-after-free, then calling |
You mean like the X-Git-Url header pointing to the upstream repo in the patch file? |
|
Ah oops i am blind, sorry |
|
Running a build to confirm this fixes Po4a on musl, but other than that pending sanity check this change looks fine |
|
I confirmed |
|
Might conflict with #422916, but seeing as you did both PRs i'll trust you know what you are doing in terms of resolving conflicts with yourself. |
This fixes building perlPackages.Po4a on musl. While we haven't seen it with Glibc, I have no reason to believe the bug is musl-specific.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.