Bug 216784

Summary: optipng internal error (incorrect libpng) with some images
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: optipngAssignee: Till Maas <opensource>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-29 12:59:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Reproducer .png none

Description Ville Skyttä 2006-11-22 00:02:45 UTC
optipng-0.5.4-3.fc6.x86_64 fails on some pngs, such as the attached one, with
the following output:

$ optipng empty.png
OptiPNG 0.5.4: Advanced PNG optimizer.
Copyright (C) 2001-2006 Cosmin Truta.

** Processing: empty.png
68x42 8-bit RGB non-interlaced

Error: [internal error] Inconsistent internal structures (incorrect libpng?)

1 error(s) encountered.

Comment 1 Ville Skyttä 2006-11-22 00:02:45 UTC
Created attachment 141855 [details]
Reproducer .png

Comment 2 Till Maas 2006-11-22 12:00:34 UTC
Problem occurs also on i386

Comment 3 Till Maas 2006-11-29 12:59:16 UTC
Fixed in 0.5.4-4, optipng checked to strictly to prevent image corruption. The
regarding check has been removed now.