[pkg-fgfs-crew] [PATCH] New patch: remove-slash-tmp-xml-files-from-allowed-paths-list_51bfdc21e0b4528797697d32664eacb15d297449.patch

Florent Rougon f.rougon at free.fr
Sat Mar 28 11:31:45 UTC 2015


Description: Nasal: remove /tmp/*.xml from allowed paths list
 Appears unused, and shouldn't be used on Windows
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Origin: upstream, https://sourceforge.net/p/flightgear/flightgear/ci/51bfdc21e0b4528797697d32664eacb15d297449/
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780867
---
 ...list_51bfdc21e0b4528797697d32664eacb15d297449.patch | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 debian/patches/remove-slash-tmp-xml-files-from-allowed-paths-list_51bfdc21e0b4528797697d32664eacb15d297449.patch

diff --git a/debian/patches/remove-slash-tmp-xml-files-from-allowed-paths-list_51bfdc21e0b4528797697d32664eacb15d297449.patch b/debian/patches/remove-slash-tmp-xml-files-from-allowed-paths-list_51bfdc21e0b4528797697d32664eacb15d297449.patch
new file mode 100644
index 0000000..f591b86
--- /dev/null
+++ b/debian/patches/remove-slash-tmp-xml-files-from-allowed-paths-list_51bfdc21e0b4528797697d32664eacb15d297449.patch
@@ -0,0 +1,18 @@
+Description: Nasal: remove /tmp/*.xml from allowed paths list
+ Appears unused, and shouldn't be used on Windows
+Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
+Origin: upstream, https://sourceforge.net/p/flightgear/flightgear/ci/51bfdc21e0b4528797697d32664eacb15d297449/
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780867
+Last-Update: 2015-03-28
+
+--- a/src/Main/util.cxx
++++ b/src/Main/util.cxx
+@@ -105,7 +105,6 @@
+             exit(-1);
+         }
+     }
+-    write_allowed_paths.push_back("/tmp/*.xml");
+     write_allowed_paths.push_back(globals->get_fg_home() + "/*.sav");
+     write_allowed_paths.push_back(globals->get_fg_home() + "/*.log");
+     write_allowed_paths.push_back(globals->get_fg_home() + "/cache/*");
diff --git a/debian/patches/series b/debian/patches/series
index 9208392..f6a254d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 6a30e7.patch
+remove-slash-tmp-xml-files-from-allowed-paths-list_51bfdc21e0b4528797697d32664eacb15d297449.patch
-- 
2.1.4




More information about the pkg-fgfs-crew mailing list