Some PNGs are sloppily written with invalid last chunk lengths. We should tolerate that; example attached.
Created attachment 75950 [details] broken png
Fixed in master.
Michael Meeks committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0b789377ffc1a05b6c6a58e373900e378835e07e fdo#61847 - tolerate invalid pngs. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Meeks committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ad65fea9c28542dcb986b693ec743b2ec668f0fd fdo#61847 - add test file of png image with invalid final chunk length. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.