Last line should be ; //it worked. Otherwise your next statement will be controlled...
The error is in the application that called libpng's png_read_image().
Closing, patch was never sent.
Fixed in libpng-1.6.18beta01.
Failing test after 1.6.17 update
Thanks. This is a known issue that was fixed in libpng-1.6.18beta01.
Not fixed, the wrong credits are still there, although they are 2-1/2 years old now....