Closed 3400442579 closed 3 years ago
So I've dug into this GIF, and the problem is that the actual file is corrupted. The last frame just cuts off. However it shouldn't result in an out of mem. The reason this happens is that inside the subblock parser, it is looking for a terminating character which it never receives. The fix I can add is to ensure that the subblocks never read past the end of the stream (in case a terminator is never hit).
Ok, I've pushed a new version that should be able to deal with corrupted gifs in a much nicer way (if the corruption is in the subblocks).
错误代码: Out of Memory