Check index in mjpeg AC decode against overflowing.

This fixes a possibly exploitable buffer overflow and it will likely also be needed for future overreading fixes.

Originally committed as revision 25546 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Michael Niedermayer 14 years ago
parent 5675a11f92
commit 2111a191eb
Loading…
Cancel
Save