And another sechole ...
Originally committed as revision 16346 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
268309750b
commit
eb0094b224
@ -217,7 +217,7 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
|
|||||||
else
|
else
|
||||||
run_off -= *--ref;
|
run_off -= *--ref;
|
||||||
offs += run;
|
offs += run;
|
||||||
if(offs > width){
|
if(offs > width || run > width){
|
||||||
av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
|
av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user