[FFmpeg-devel] [PATCH] vp6_parse_coeff_huffman misses buffer size check

Aurelien Jacobs aurel
Sun Jul 5 17:05:21 CEST 2009

On Sun, Jul 05, 2009 at 02:19:52PM +0200, Reimar D?ffinger wrote:
> Hello,
> affected file is vp62/smclockvp62hsp.avi.1.1 from issue 1240.
> One solution is just to check if there is still data available for every
> coded coefficient. Given the overall complexity of the code that might
> even be acceptable, no idea.

Well, not very nice, but I have no better idea, and the slowdown is
barely mesurable. So, patch OK.

> Probably vp6_parse_coeff needs the same kind of check, but I don't have
> a sample file to test.

Indeed. I will take care of this.


More information about the ffmpeg-devel mailing list