[FFmpeg-cvslog] r16346 - trunk/libavcodec/faxcompr.c
michael
subversion
Fri Dec 26 19:14:59 CET 2008
Author: michael
Date: Fri Dec 26 19:14:59 2008
New Revision: 16346
Log:
And another sechole ...
Modified:
trunk/libavcodec/faxcompr.c
Modified: trunk/libavcodec/faxcompr.c
==============================================================================
--- trunk/libavcodec/faxcompr.c Fri Dec 26 19:06:29 2008 (r16345)
+++ trunk/libavcodec/faxcompr.c Fri Dec 26 19:14:59 2008 (r16346)
@@ -217,7 +217,7 @@ static int decode_group3_2d_line(AVCodec
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;
}
More information about the ffmpeg-cvslog
mailing list