perl: apply patch for CVE-2025-40909#412233
Conversation
|
Successfully created backport PR for |
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Successfully created backport PR for |
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Looks like this change broke cross compilation (to riscv64-linux at least): With 88c1caa reverted |
|
|
|
Maybe related to patches on config scripts and perl-cross, will try to have a look this evening. |
| d_fd_set='define' | ||
| d_fdclose='undef' | ||
| d_fdim='undef' | ||
| +d_fdopendir=undef |
There was a problem hiding this comment.
Hi. I believe this line should have ' quotation mark aroung undef. This cause cross-compilation not working. Can you fix that?
| d_fd_set='define' | ||
| d_fdclose='undef' | ||
| d_fdim='undef' | ||
| +d_fdopendir=undef |
There was a problem hiding this comment.
There was a problem hiding this comment.
But this isn't nixpkgs work. We just got the patch from upstream:
Perl/perl5@918bfff
There was a problem hiding this comment.
i.e. such discussion should happen upstream, so that all distros can benefit.
There was a problem hiding this comment.
It is fixed here: Perl/perl5@d19a96b
There was a problem hiding this comment.
But the package still won't work for cross compile aarch64 after apply this patch. I eventually substitute the broken ,# HAS_FDOPENDIR to #unset HAS_FDOPENDIR in xconfig.h and config.h before buildphase. May be the problem is more complicated.
Fixes CVE-2025-40909
https://www.openwall.com/lists/oss-security/2025/05/22/2
https://github.com/Perl/perl5/commit/918bfff86ca8d6d4e4ec5b30994451e0bd74aba9.patch
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.