Re: Endless loop in version 1.6.26

Glenn Randers-Pehrson <[email protected]>
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CA+PdXcv0yJHwp2oKUS2RH6Wv5we4fr2ny88JzzxekEWOGWD2cg@mail.gmail.com>
I was expecting this change to cause a regression of mozilla bug #1300661
but it doesn't. It seems that I neglected to back out the change from the
progressive reader, libpng16/pngpread.c lines 844-847:

            if (ret == Z_DATA_ERROR)
               png_benign_error(png_ptr, "IDAT: ADLER32 checksum mismatch");
            else
               png_error(png_ptr, "Decompression error in IDAT");

In libpng-1.6.25 this is simply a png_error().

I've just verified that if I do back out this change, the mozilla bug does
regress.
The web page in question is still generating a PNG/CAPTCHA image with
invalid ADLER32 checksum.


On Tue, Nov 8, 2016 at 5:07 PM, Glenn Randers-Pehrson <[email protected]>
wrote:

> Backed out the change from pngrutil.c and pngpread.c, pushed to the git
> repos (libpng16 branch)
>
> Glenn
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
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.