Menu

#291 Fails decoding PNGs with invalid eXIf chunk

libpng_code
open
nobody
None
5
2020-09-03
2020-09-03
No

While trying to decode a image with a malformed eXIf chunk (lack of byte-order marker), we get the error "ND[AE]B: invalid chunk type ()", which seems to happen due to miscalculation in reading rest of the chunk. Attached diff fixes it.

Thanks!

1 Attachments

Discussion


Log in to post a comment.