void-packages/srcpkgs/ImageMagick/patches/CVE-2016-3714.patch

15 lines
716 B
Diff

https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588
--- config/policy.xml.orig 2016-05-03 23:18:45.652543000 +0200
+++ config/policy.xml 2016-05-03 23:19:23.818471000 +0200
@@ -58,4 +58,9 @@
<!-- <policy domain="resource" name="time" value="3600"/> -->
<!-- <policy domain="system" name="precision" value="6"/> -->
<policy domain="cache" name="shared-secret" value="passphrase"/>
+ <policy domain="coder" rights="none" pattern="EPHEMERAL" />
+ <policy domain="coder" rights="none" pattern="URL" />
+ <policy domain="coder" rights="none" pattern="HTTPS" />
+ <policy domain="coder" rights="none" pattern="MVG" />
+ <policy domain="coder" rights="none" pattern="MSL" />
</policymap>