提交 eb0094b2 编写于 作者: M Michael Niedermayer

And another sechole ...

Originally committed as revision 16346 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 26830975
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册