[Pkg-gmagick-im-team] Bug#1036200: Malicious postscript code?
Alexander Vivian Hugh McPhail
alexander.mcphail at outlook.com
Fri May 26 16:51:07 BST 2023
/Y /setcmykcolor where { %%ifelse Use built-in operator
/setcmykcolor get
}{ %%ifelse Emulate setcmykcolor with setrgbcolor
{ %%def
1 sub 3 { %%repeat
3 index add neg dup 0 lt { pop 0 } if 3 1 roll
} repeat setrgbcolor
} bind
/stringbbox {gsave NP 0 0 m false charpath flattenpath
pathbbox 4 2 roll pop pop 1.1 mul cvi exch 1.1 mul
cvi exch grestore} def
---
Predefined untyped Y combinator appears to delete things until there is nothing left to delete. Not sure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gmagick-im-team/attachments/20230526/2d6ab912/attachment.htm>
More information about the Pkg-gmagick-im-team
mailing list