Bugzilla – Attachment 169721 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.23 KB, created by
Nick Clemens (kidclamp)
on 2024-07-26 13:41:00 UTC
(
hide
)
Description:
Bug 37323: Tidy
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-07-26 13:41:00 UTC
Size:
1.23 KB
patch
obsolete
>From 87e128bd424d88e413f37eb8f884c70019ddd2ab 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> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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 f5e579a6915..71d3a269446 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