Bugzilla – Attachment 169639 Details for
Bug 37323
Remote-Code-Execution (RCE) in picture-upload.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37323: Tidy
Bug-37323-Tidy.patch (text/plain), 1.17 KB, created by
David Cook
on 2024-07-26 03:28:27 UTC
(
hide
)
Description:
Bug 37323: Tidy
Filename:
MIME Type:
Creator:
David Cook
Created:
2024-07-26 03:28:27 UTC
Size:
1.17 KB
patch
obsolete
>From ae06e8b9560608468ed80954bfa652c44172fa05 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 26 Jul 2024 03:27:22 +0000 >Subject: [PATCH] Bug 37323: Tidy > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > tools/picture-upload.pl | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl >index f5e579a691..71d3a26944 100755 >--- a/tools/picture-upload.pl >+++ b/tools/picture-upload.pl >@@ -215,11 +215,11 @@ sub handle_dir { > my $dir_h; > opendir $dir_h, $dir; > while ( my $filename = readdir $dir_h ) { >- >- if ( ($filename =~ m/datalink\.txt/i >- || $filename =~ m/idlink\.txt/i ) && ( -e "$dir/$filename" && !-l "$dir/$filename")) { >- $file = Cwd::abs_path("$dir/$filename"); >- } >+ if ( ( $filename =~ m/datalink\.txt/i || $filename =~ m/idlink\.txt/i ) >+ && ( -e "$dir/$filename" && !-l "$dir/$filename" ) ) >+ { >+ $file = Cwd::abs_path("$dir/$filename"); >+ } > } > my $fh; > unless ( open( $fh, '<', $file ) ) { >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37323
:
168779
|
168856
|
168857
|
169170
|
169171
|
169175
|
169176
|
169637
|
169638
|
169639
|
169719
|
169720
|
169721