diff --git a/libtiff/tif_fax3.h b/libtiff/tif_fax3.h index abadcd97..861a5100 100644 --- a/libtiff/tif_fax3.h +++ b/libtiff/tif_fax3.h @@ -478,11 +478,9 @@ done1d: \ break; \ case S_VL: \ CHECK_b1; \ - if (b1 <= (int) (a0 + TabEnt->Param)) { \ - if (b1 < (int) (a0 + TabEnt->Param) || pa != thisrun) { \ - unexpected("VL", a0); \ - goto eol2d; \ - } \ + if (b1 < (int) (a0 + TabEnt->Param)) { \ + unexpected("VL", a0); \ + goto eol2d; \ } \ SETVALUE(b1 - a0 - TabEnt->Param); \ b1 -= *--pb; \