about summary refs log tree commit diff
path: root/pkgs/development/python-modules/suds/suds-0.4-CVE-2013-2217.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/suds/suds-0.4-CVE-2013-2217.patch')
-rw-r--r--pkgs/development/python-modules/suds/suds-0.4-CVE-2013-2217.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/suds/suds-0.4-CVE-2013-2217.patch b/pkgs/development/python-modules/suds/suds-0.4-CVE-2013-2217.patch
new file mode 100644
index 000000000000..235fc1f928c0
--- /dev/null
+++ b/pkgs/development/python-modules/suds/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)