Merge branch 'issue-179' into 'master'

tif_fax3.h: check for buffer overflow in EXPAND2D before "calling" CLEANUP_RUNS()

Closes #179

See merge request libtiff/libtiff!112
This commit is contained in:
Even Rouault 2020-03-05 11:39:34 +00:00
commit d71530462f

View File

@ -514,7 +514,9 @@ done1d: \
goto eol2d; \ goto eol2d; \
eof2d: \ eof2d: \
prematureEOF(a0); \ prematureEOF(a0); \
if (pa < thisrun + sp->nruns) { \
CLEANUP_RUNS(); \ CLEANUP_RUNS(); \
} \
goto eoflab; \ goto eoflab; \
} \ } \
} \ } \