diff options
author | Domen Kožar <domen@dev.si> | 2015-10-28 11:55:24 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-10-28 11:55:30 +0100 |
commit | d60718d57a55191bd21c5263b65c313381860fbe (patch) | |
tree | cb8e5f77e2ce9972920e7717a7c07fc24ea6bb1a /pkgs/development/python-modules/suds-0.4-CVE-2013-2217.patch | |
parent | 4c026eee39d6b6a2298d165238788c1ab51599dc (diff) | |
download | nixlib-d60718d57a55191bd21c5263b65c313381860fbe.tar nixlib-d60718d57a55191bd21c5263b65c313381860fbe.tar.gz nixlib-d60718d57a55191bd21c5263b65c313381860fbe.tar.bz2 nixlib-d60718d57a55191bd21c5263b65c313381860fbe.tar.lz nixlib-d60718d57a55191bd21c5263b65c313381860fbe.tar.xz nixlib-d60718d57a55191bd21c5263b65c313381860fbe.tar.zst nixlib-d60718d57a55191bd21c5263b65c313381860fbe.zip |
pythonPackages.suds: apply patch CVE-2013-2217
Diffstat (limited to 'pkgs/development/python-modules/suds-0.4-CVE-2013-2217.patch')
-rw-r--r-- | pkgs/development/python-modules/suds-0.4-CVE-2013-2217.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/suds-0.4-CVE-2013-2217.patch b/pkgs/development/python-modules/suds-0.4-CVE-2013-2217.patch new file mode 100644 index 000000000000..235fc1f928c0 --- /dev/null +++ b/pkgs/development/python-modules/suds-0.4-CVE-2013-2217.patch @@ -0,0 +1,19 @@ +--- suds.orig/suds/cache.py 2013-06-29 16:26:16.930326017 +0200 ++++ suds.orig/suds/cache.py 2013-06-29 16:02:15.000000000 +0200 +@@ -19,6 +19,7 @@ + """ + + import os ++import tempfile + import suds + from tempfile import gettempdir as tmp + from suds.transport import * +@@ -138,7 +139,7 @@ + @type duration: {unit:value} + """ + if location is None: +- location = os.path.join(tmp(), 'suds') ++ location = tempfile.mkdtemp() + self.location = location + self.duration = (None, 0) + self.setduration(**duration) |