[Pkg-privacy-commits] [onionshare] 02/02: Adjust patch for 0.9

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu May 26 21:50:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch debian
in repository onionshare.

commit 506e837321ede1d39c076edce56354983d1d8df0
Author: Ulrike Uhlig <u at 451f.org>
Date:   Thu May 26 23:46:36 2016 +0200

    Adjust patch for 0.9
---
 debian/patches/fix_CVE-2016-5026 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/fix_CVE-2016-5026 b/debian/patches/fix_CVE-2016-5026
index 9b64d60..f669c4d 100644
--- a/debian/patches/fix_CVE-2016-5026
+++ b/debian/patches/fix_CVE-2016-5026
@@ -8,14 +8,14 @@ Author: Michael Scherer <misc at zarb.org>
 
 --- a/onionshare/hs.py
 +++ b/onionshare/hs.py
-@@ -99,16 +99,7 @@
+@@ -102,16 +102,7 @@
                  self.hidserv_dir = self.hidserv_dir.replace('\\', '/')
 
              else:
 -                path = '/tmp/onionshare'
 -                try:
 -                    if not os.path.exists(path):
--                        os.makedirs(path, 0700)
+-                        os.makedirs(path, 0o700)
 -                except:
 -                    raise HSDirError(strings._("error_hs_dir_cannot_create").format(path))
 -                if not os.access(path, os.W_OK):
@@ -26,7 +26,7 @@ Author: Michael Scherer <misc at zarb.org>
 
              self.cleanup_filenames.append(self.hidserv_dir)
 
-@@ -230,17 +221,17 @@
+@@ -233,17 +224,17 @@
                  '80 127.0.0.1:33302'
              ],
              'HiddenServiceDir': [

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git



More information about the Pkg-privacy-commits mailing list