Francois Gouget : testbot/Janitor: Document where filenames are untainted.
Module: tools Branch: master Commit: 6ee085bd0ee8fd68c72fc48db1f01b7a2b35cc03 URL: https://source.winehq.org/git/tools.git/?a=commit;h=6ee085bd0ee8fd68c72fc48d... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Mon Dec 30 00:46:13 2019 +0100 testbot/Janitor: Document where filenames are untainted. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 139faea..35500e1 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);
participants (1)
-
Alexandre Julliard