Closed Bug 889775 Opened 11 years ago Closed 11 years ago

png image can't be read on wordpress

Categories

(Core :: Graphics: ImageLib, defect)

22 Branch
x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX
Tracking Status
firefox22 --- affected

People

(Reporter: jripato, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212

Steps to reproduce:

I made a wordpress website contained png glitched images. I download firefox 22.0


Actual results:

After the upgrade, png images can't be read
Attached image robe.png
If I open the attached PNG directly from BMO, the image appears briefly then Firefox displays a message saying there are some errors in the image.

Regression range:
good=2013-03-21
bad=2013-03-22
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1d6fe70c79c5&tochange=0e9badd3cf39

Suspected bug: Bug 716140 - Multithreaded image decoding
Blocks: 716140
Status: UNCONFIRMED → NEW
Component: Untriaged → ImageLib
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Joe - this is only a single instance of a corrupt issue. Any reason to believe this will impact a significant portion of PNGs? Holding off on tracking until we hear back.
Flags: needinfo?(joe)
We know that we made several instances of corrupted PNGs not decode any more; we worked around some of this with bug 857040, but there are more instances out there. This shouldn't be too terribly bad in general, though.
Flags: needinfo?(joe)
This one is corrupted enough that pngcrush and pngcheck can't read it.  Chrome displays it but it's obviously corrupted.  Nightly flashes the image and displays the error msg
To let mozilla display this corrupted image we'd need to defeat the libpng CRC checking (easy to do) and also zlib's Adler32 checksum checking (also possible).  I don't think that's the right thing to do, however.
I don't think we should try to make this image display. For now, we won't try to fix it.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Agreed.  I have spent some time trying to ignore the zlib error but just got into more libpng errors or core dumps.  I think "fixing" this bug would just lead to a larger territory for security researchers and bounty hunters to explore.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: