Skip to content

Commit b306346

Browse files
committed
Update ImageMagick policy to allow the XC module
The presentation format recording scripts use the xc module (which stands for "Constant Color" to generate placeholder images for slides which are missing / failed to convert and a few other circumstances. The XC module is safe to enable, since it doesn't involve reading any files - it only generates single-color in memory images, and image sizes (memory usage) are limited by other sections of the policy.
1 parent 0de832b commit b306346

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bbb-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ main() {
498498
<policy domain="module" rights="none" pattern="*" />
499499
<policy domain="module" rights="read | write" pattern="{BMP,GIF,JPEG,PDF,PNG,TIFF,WEBP}"/>
500500
<policy domain="module" rights="read | write" pattern="{MPC}" stealth="true"/>
501+
<policy domain="module" rights="read" pattern="{XC}"/>
501502
<policy domain="module" rights="write" pattern="{JSON,INFO,PNM,PS,SVG}"/>
502503
<!-- This policy sets the number of times to replace content of certain
503504
memory buffers and temporary files before they are freed or deleted. -->

0 commit comments

Comments
 (0)