Skip to content
Snippets Groups Projects
Commit eb0094b2 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

And another sechole ...

Originally committed as revision 16346 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 26830975
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
else
run_off -= *--ref;
offs += run;
if(offs > width){
if(offs > width || run > width){
av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment