https://bugzilla.wikimedia.org/show_bug.cgi?id=19089

       Web browser: ---
           Summary: animated gif brought down wiki
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to