Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
26 lines
659 B
Diff
26 lines
659 B
Diff
From ca70a73bb147549e62e74751d924b1dbb59d1707 Mon Sep 17 00:00:00 2001
|
|
From: Stig Palmquist <stig@stig.io>
|
|
Date: Thu, 5 Jun 2025 03:45:50 +0200
|
|
Subject: [PATCH] Fix CVE-2011-10007
|
|
|
|
---
|
|
lib/File/Find/Rule.pm | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/File/Find/Rule.pm b/lib/File/Find/Rule.pm
|
|
index feccc76..d4dc475 100644
|
|
--- a/lib/File/Find/Rule.pm
|
|
+++ b/lib/File/Find/Rule.pm
|
|
@@ -420,7 +420,7 @@ sub grep {
|
|
|
|
$self->exec( sub {
|
|
local *FILE;
|
|
- open FILE, $_ or return;
|
|
+ open FILE, '<', $_ or return;
|
|
local ($_, $.);
|
|
while (<FILE>) {
|
|
for my $p (@pattern) {
|
|
--
|
|
2.49.0
|
|
|