Author: buzz
Description:
A user uploaded an animated gif ~400k that has many frames to my wiki. Convert seemed to take forever to finish holding up fastcgi and causing it to stop responding (effectively being my site down)
Do we actually need to scale/thumbnail animated gifs? wouldn't it be better to use
convert blah.gif[0] by default on all gifs to only process the first frame ?
the evil gif
http://malus.exotica.org.uk/~buzz/animated.gif
I;m marking this as major, as the defaults are not sensible enough to protect from this. The Bitmap.php code only processes the first frame if
if( $srcWidth * $srcHeight > $wgMaxAnimatedGifArea ) {
however this doesn't help for a gif with small dimensions but many frames.
Version: unspecified
Severity: major