# HG changeset patch # User michael # Date 1230315299 0 # Node ID f2590c8d5e9b7f25fc059a63ec4771d7cd8e17e2 # Parent 88e8b4f81275ae7123d6e788205b3b38b669b517 And another sechole ... diff -r 88e8b4f81275 -r f2590c8d5e9b faxcompr.c --- a/faxcompr.c Fri Dec 26 18:06:29 2008 +0000 +++ b/faxcompr.c Fri Dec 26 18:14:59 2008 +0000 @@ -217,7 +217,7 @@ 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; }