Commit 45dac201 authored by michael's avatar michael

And another sechole ...


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16346 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ce348882
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment