Mageia Bugzilla – Attachment 4727 Details for
Bug 11809
hplip new security issue CVE-2013-6402
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
CVE-2013-6402-deb.patch
file_11809.txt (text/plain), 775 bytes, created by
Philippe Makowski
on 2014-01-06 18:51:08 CET
(
hide
)
Description:
CVE-2013-6402-deb.patch
Filename:
MIME Type:
Creator:
Philippe Makowski
Created:
2014-01-06 18:51:08 CET
Size:
775 bytes
patch
obsolete
>diff -aur hplip-3.12.6.orig/base/pkit.py hplip-3.12.6/base/pkit.py >--- hplip-3.12.6.orig/base/pkit.py 2012-06-18 12:44:13.000000000 +0200 >+++ hplip-3.12.6/base/pkit.py 2013-12-10 13:04:22.916674893 +0100 >@@ -29,6 +29,7 @@ > import ConfigParser > import shutil > import stat >+import tempfile > > # Local > from base.logger import * >@@ -205,7 +206,7 @@ > class BackendService(PolicyKitService): > INTERFACE_NAME = 'com.hp.hplip' > SERVICE_NAME = 'com.hp.hplip' >- LOGFILE_NAME = '/tmp/hp-pkservice.log' >+ LOGFILE_NAME = tempfile.mktemp(prefix="hp-pkservice-", suffix=".log") > > def __init__(self, connection=None, path='/', logfile=LOGFILE_NAME): > if connection is None: >Nur in hplip-3.12.6/base: pkit.py~.
diff -aur hplip-3.12.6.orig/base/pkit.py hplip-3.12.6/base/pkit.py --- hplip-3.12.6.orig/base/pkit.py 2012-06-18 12:44:13.000000000 +0200 +++ hplip-3.12.6/base/pkit.py 2013-12-10 13:04:22.916674893 +0100 @@ -29,6 +29,7 @@ import ConfigParser import shutil import stat +import tempfile # Local from base.logger import * @@ -205,7 +206,7 @@ class BackendService(PolicyKitService): INTERFACE_NAME = 'com.hp.hplip' SERVICE_NAME = 'com.hp.hplip' - LOGFILE_NAME = '/tmp/hp-pkservice.log' + LOGFILE_NAME = tempfile.mktemp(prefix="hp-pkservice-", suffix=".log") def __init__(self, connection=None, path='/', logfile=LOGFILE_NAME): if connection is None: Nur in hplip-3.12.6/base: pkit.py~.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11809
:
4687
|
4688
|
4714
| 4727