Fuzz testing found that crafted TIFF files with corrupt Group3 fax data could cause a u16 addition overflow when accumulating run lengths. Use checked_add and break on overflow (treating as corrupt data) instead of panicking.
Fuzz testing found that crafted TIFF files with corrupt Group3 fax data could cause a u16 addition overflow when accumulating run lengths. Use checked_add and break on overflow (treating as corrupt data) instead of panicking.