Re: Off-by-one bug in libpng16 writes extra zero-length IDAT chunk

Glenn Randers-Pehrson <[email protected]>
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CA+PdXcv1tfBOjR1KE0nB0HOk7K6EvwEDx3XMS4qphUSX8zZA3Q@mail.gmail.com>
On Mon, Jun 5, 2017 at 7:22 PM, Glenn Randers-Pehrson <[email protected]> wrote:
> Received this bug report: https://sourceforge.net/p/libpng/bugs/265/
>
> libpng16 is adding an extra zero-length IDAT when the zlib buffer
> for the final IDAT is exactly filled by the data.  I've confirmed that
> the bug exists in libpng-1.6.13 through 1.6.30beta03 but not in
> libpng-1.5.29 and earlier.
>
> A bugfix would be welcome.

Never mind, I've got one now.  I'll patch the distributions shortly.

Glenn

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.