aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/data/media/tEXt-invalid-masked.png
Commit message (Collapse)AuthorAgeFilesLines
* Ignore invalid chunks in PNG files, instead of aborting metadata extractionTim Starling2021-07-131-0/+0
* Factor out file read errors and unexpected EOF errors. * For errors relating to chunk content, instead of throwing an exception which is silently discarded, just log an error and continue to the next chunk. This allows the dimensions to be extracted even if other metadata is mangled. * As an additional sanity check, verify the CRC of each chunk. Bug: T286273 Change-Id: I11d0186496324e0bb1bb0a143f438e0368a8e902