Descriptionimage/gif: handle invalid GIFs more cautiously
GIFs with huge bounds and not enough pixels to
match were causing huge allocations before giving
an error. We now load the pixels and compare
how many are really available before allocating
the image.
Fixes issue 5050.
Patch Set 1 #Patch Set 2 : diff -r 773d3583bac6 http://code.google.com/p/go #
Total comments: 2
Patch Set 3 : diff -r 773d3583bac6 http://code.google.com/p/go #
Total comments: 3
Patch Set 4 : diff -r 773d3583bac6 http://code.google.com/p/go #
MessagesTotal messages: 13
|