how can I disable Ghostscript support in Graphicsmagick

yzh杨振宏 <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <7354BE8391D7C34B9384A115F0B5444A20AEB6FB@SVR2115HP380.cn1.global.ctrip.com>
On August 21st, taviso@google reported a remote code execution bugs in things like ImageMagick, Evince, GIMP, and most other PDF/PS tools using ghostscript. 
https://bugs.chromium.org/p/project-zero/issues/detail?id=1640
I test it use graphicsmagick and encounter same bug problem. 
Ghostscript has not officially fixed this bug until now. Temporary measure is disabling PS/EPS/PDF/XPS coder support.
So how to do it in graphicsmagick? Imagemagick has a policy.xml to do this thing. 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.