Revision eb0094b2

View differences:

libavcodec/faxcompr.c
217 217
            else
218 218
                run_off -= *--ref;
219 219
            offs += run;
220
            if(offs > width){
220
            if(offs > width || run > width){
221 221
                av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
222 222
                return -1;
223 223
            }

Also available in: Unified diff