summaryrefslogtreecommitdiffstats
path: root/patches/source/imagemagick/policy.xml.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-05-25 23:29:36 +0000
committer Eric Hameleers <alien@slackware.com>2018-05-31 15:16:15 -0700
commit3152fcc3bbd4cabf01c7e70766a305ce4c725881 (patch)
tree59b07e5d76b8023848dff79ce5fe6b83cd536925 /patches/source/imagemagick/policy.xml.diff
parent9664bee729d487bcc0a0bc35859f8e13d5421c75 (diff)
downloadcurrent-3152fcc3bbd4cabf01c7e70766a305ce4c725881.tar.gz
current-3152fcc3bbd4cabf01c7e70766a305ce4c725881.tar.xz
Fri May 25 23:29:36 UTC 201814.0
patches/packages/glibc-zoneinfo-2018e-noarch-2_slack14.0.txz: Rebuilt. Handle removal of US/Pacific-New timezone. If we see that the machine is using this, it will be automatically switched to US/Pacific.
Diffstat (limited to 'patches/source/imagemagick/policy.xml.diff')
-rw-r--r--patches/source/imagemagick/policy.xml.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/source/imagemagick/policy.xml.diff b/patches/source/imagemagick/policy.xml.diff
new file mode 100644
index 000000000..de11fccec
--- /dev/null
+++ b/patches/source/imagemagick/policy.xml.diff
@@ -0,0 +1,19 @@
+--- ./config/policy.xml.orig 2012-03-02 19:18:13.000000000 -0600
++++ ./config/policy.xml 2016-05-10 15:59:23.651232588 -0500
+@@ -45,6 +45,16 @@
+ exceeds policy maximum so memory limit is 1GB).
+ -->
+ <policymap>
++ <!-- SECURITY: disable potentially insecure coders: -->
++ <policy domain="coder" rights="none" pattern="EPHEMERAL" />
++ <policy domain="coder" rights="none" pattern="HTTPS" />
++ <policy domain="coder" rights="none" pattern="MVG" />
++ <policy domain="coder" rights="none" pattern="MSL" />
++ <policy domain="coder" rights="none" pattern="TEXT" />
++ <policy domain="coder" rights="none" pattern="SHOW" />
++ <policy domain="coder" rights="none" pattern="WIN" />
++ <policy domain="coder" rights="none" pattern="PLT" />
++ <!-- Some examples: -->
+ <!-- <policy domain="system" name="precision" value="6"/> -->
+ <!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
+ <!-- <policy domain="resource" name="memory" value="2GiB"/> -->