[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH] testbot/Janitor: Document where filenames are untainted.
From: Francois Gouget <fgouget () codeweavers ! com>
Date: 2019-12-29 23:46:13
Message-ID: E1iliGD-0002nx-FN () amboise
[Download RAW message or body]
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
---
testbot/bin/Janitor.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl
index 139faea94..35500e1f0 100755
--- a/testbot/bin/Janitor.pl
+++ b/testbot/bin/Janitor.pl
@@ -261,7 +261,7 @@ if (opendir(my $dh, "$DataDir/staging"))
foreach my $Entry (@Entries)
{
next if ($Entry eq "." or $Entry eq "..");
- $Entry =~ m%^([^/]+)$%;
+ $Entry =~ m%^([^/]+)$%; # untaint
my $FileName = "$DataDir/staging/$1";
my $Age = int((-M $FileName) + 0.5);
--
2.20.1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic