Mageia Bugzilla – Attachment 4714 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]
new patch for cve-2013-6402
cve-2013-6402.patch (text/plain), 725 bytes, created by
Philippe Makowski
on 2014-01-04 19:54:39 CET
(
hide
)
Description:
new patch for cve-2013-6402
Filename:
MIME Type:
Creator:
Philippe Makowski
Created:
2014-01-04 19:54:39 CET
Size:
725 bytes
patch
obsolete
>--- /usr/share/hplip/base/pkit.py 2013-10-06 22:44:39.000000000 +0200 >+++ pkit.py 2014-01-04 19:50:21.819435035 +0100 >@@ -29,6 +29,7 @@ > import ConfigParser > import shutil > import stat >+import tempfile > > # Local > from base.logger import * >@@ -211,9 +212,9 @@ > self.name = dbus.service.BusName(self.SERVICE_NAME, connection) > self.loop = gobject.MainLoop() > self.version = 0 >- >- log.set_logfile("%s.%d" % (logfile, os.getpid())) >- log.set_level("debug") >+ logfile = tempfile.mkstemp(suffix='',prefix='')[1] >+ log.set_logfile("%s" % (logfile)) >+ log.set_level("debug") > > def run(self, version=None): > if version is None:
--- /usr/share/hplip/base/pkit.py 2013-10-06 22:44:39.000000000 +0200 +++ pkit.py 2014-01-04 19:50:21.819435035 +0100 @@ -29,6 +29,7 @@ import ConfigParser import shutil import stat +import tempfile # Local from base.logger import * @@ -211,9 +212,9 @@ self.name = dbus.service.BusName(self.SERVICE_NAME, connection) self.loop = gobject.MainLoop() self.version = 0 - - log.set_logfile("%s.%d" % (logfile, os.getpid())) - log.set_level("debug") + logfile = tempfile.mkstemp(suffix='',prefix='')[1] + log.set_logfile("%s" % (logfile)) + log.set_level("debug") def run(self, version=None): if version is None:
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11809
:
4687
|
4688
| 4714 |
4727