Minor security fix: mod_imagemagick used popen to run covert, change it to use pipe...
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Dec 2007 03:39:08 +0000 (03:39 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Dec 2007 03:39:08 +0000 (03:39 +0000)
commite3bde2b95fdc0fe05d1fe855667058dc4f6a4e6d
treed4b357af953b87725de0a03e2035f199377ea311
parent13db298693ca30c238ec0a201b5abc5f20c69595
Minor security fix: mod_imagemagick used popen to run covert, change it to use pipe, fork and exec. Strangely named sif files could previously have executed arbitrary shell commands.

git-svn-id: http://svn.voria.com/code@1185 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/modules/mod_imagemagick/trgt_imagemagick.cpp
synfig-core/trunk/src/modules/mod_imagemagick/trgt_imagemagick.h