summaryrefslogtreecommitdiff
path: root/src/xine-engine/configfile.h
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-20 08:36:56 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2003-10-20 08:36:56 +0000
commit442f9954b62477da117125772d5b5f5321a38182 (patch)
tree9b01080897706953b2dde6ed93a3bad14ab2b1f4 /src/xine-engine/configfile.h
parent4b23b23a6098c7f33737b1f69be0304658bb96ae (diff)
downloadxine-lib-442f9954b62477da117125772d5b5f5321a38182.tar.gz
xine-lib-442f9954b62477da117125772d5b5f5321a38182.tar.bz2
Clog the security hole in RIP input plugin. Streams may be saved only into onle directory.
Note, this is patch only for xine-engine. It doesn't cover cfg:// MRLs used by xine-ui. CVS patchset: 5558 CVS date: 2003/10/20 08:36:56
Diffstat (limited to 'src/xine-engine/configfile.h')
-rw-r--r--src/xine-engine/configfile.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/xine-engine/configfile.h b/src/xine-engine/configfile.h
index e3e4cb0a1..c55cfdee5 100644
--- a/src/xine-engine/configfile.h
+++ b/src/xine-engine/configfile.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: configfile.h,v 1.25 2003/07/31 12:04:55 mroi Exp $
+ * $Id: configfile.h,v 1.26 2003/10/20 08:36:57 valtri Exp $
*
* config file management
*
@@ -41,6 +41,13 @@ extern "C" {
#define CONFIG_FILE_VERSION 1
+/*
+ * config entries above this experience
+ * level musn't be changed from MRL
+ */
+#define XINE_CONFIG_SECURITY 50
+
+
typedef struct cfg_entry_s cfg_entry_t;
typedef struct config_values_s config_values_t;