Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 444144 Details for
Bug 560426
<x11-misc/shutter-0.93.1-r2: Insecure use of system()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes this issue
insecure_use_of_system.patch (text/plain), 887 bytes, created by
Alexey Zapparov
on 2016-08-25 21:45:03 UTC
(
hide
)
Description:
Patch that fixes this issue
Filename:
MIME Type:
Creator:
Alexey Zapparov
Created:
2016-08-25 21:45:03 UTC
Size:
887 bytes
patch
obsolete
>Description: Fix insecure use of system() >Author: Luke Faraone <lfaraone@debian.org> >Bug: https://bugs.launchpad.net/shutter/+bug/1495163 >Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798862 > >Index: shutter/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm >=================================================================== >--- shutter.orig/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm 2015-11-05 21:34:34.222313258 -0500 >+++ shutter/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm 2015-11-05 21:35:37.299461116 -0500 >@@ -53,7 +53,8 @@ > > sub xdg_open { > my ( $self, $dialog, $link, $user_data ) = @_; >- system("xdg-open $link"); >+ my @args = ("xdg-open", $link); >+ system(@args); > if($?){ > my $response = $self->{_dialogs}->dlg_error_message( > sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),
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
Attachments on
bug 560426
: 444144