summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/blender/files/blender-2.43-CVE-2008-4863.patch')
-rw-r--r--media-gfx/blender/files/blender-2.43-CVE-2008-4863.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/media-gfx/blender/files/blender-2.43-CVE-2008-4863.patch b/media-gfx/blender/files/blender-2.43-CVE-2008-4863.patch
deleted file mode 100644
index be19cc55fc91..000000000000
--- a/media-gfx/blender/files/blender-2.43-CVE-2008-4863.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -ru blender-2.43.orig/source/blender/python/BPY_interface.c blender-2.43/source/blender/python/BPY_interface.c
---- blender-2.43.orig/source/blender/python/BPY_interface.c 2008-11-03 21:39:45.000000000 +0100
-+++ blender-2.43/source/blender/python/BPY_interface.c 2008-11-03 21:41:29.000000000 +0100
-@@ -178,6 +178,11 @@
-
- //Start the interpreter
- Py_Initialize( );
-+
-+ /* Sanitize sys.path to prevent relative imports loading modules in
-+ the current working directory */
-+ PyRun_SimpleString("import sys; sys.path = filter(None, sys.path)");
-+
- PySys_SetArgv( argc_copy, argv_copy );
-
- //Overrides __import__