Open Bug 1225679 Opened 9 years ago Updated 8 months ago

IE11 and Chrome display some corrupt PNGs that Firefox doesn't

Categories

(Core :: Graphics: ImageLib, defect)

38 Branch
x86
Windows 7
defect

Tracking

()

Tracking Status
firefox75 --- affected

People

(Reporter: paulystefan, Unassigned)

References

()

Details

(Keywords: parity-chrome, parity-ie, parity-opera, Whiteboard: gfx-noted)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Tablet PC 2.0; .NET4.0E; rv:11.0) like Gecko

Steps to reproduce:

ff 38.4 esr Website check:  
http://www.schaik.com/pngsuite/pngsuite_xxx_png.html  and
http://www.schaik.com/pngsuite/pngsuite_xxx_gif.html




Actual results:

ff38.4 esr: 
None corrupt png showed,
all corrupt gif showed
ie11: 
2 of 14 showed
xhdn0g08 - incorrect IHDR checksum  showed,
xcsn0g01 - incorrect IDAT checksum  showed,
all corrupt gif showed


Expected results:

same Level as IE11 or more:
2 of 14 showed or more
xhdn0g08 - incorrect IHDR checksum  showed,
xcsn0g01 - incorrect IDAT checksum  showed,

all corrupt gif showed: done
OS: Unspecified → Windows 7
Hardware: Unspecified → x86
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
20151117030242

http://www.schaik.com/pngsuite/xcsn0g01.png
Also shows in Opera 33.

―――――

Confirming since other browsers display the images. Since the files are genuinely corrupt, I expect this is Invalid or Wontfix.
The only bonafide bug I noticed is that the “The image <url goes here> cannot be displayed because it contains errors.” message fails to consistently show up; sometimes just the image URL shows instead.
Status: UNCONFIRMED → NEW
Component: Untriaged → ImageLib
Ever confirmed: true
Product: Firefox → Core
Summary: IE11 can Show some Pictures of test site for png; ff38.4 esr not → IE11 and Chrome display some corrupt PNGs that Firefox doesn't
Whiteboard: [parity-ie][parity-chrome][parity-opera]
Also expecting that we won't fix this. Seth, do we have a policy on corrupt images?
Flags: needinfo?(seth)
Whiteboard: [parity-ie][parity-chrome][parity-opera] → [parity-ie][parity-chrome][parity-opera], gfx-noted
We could turn off the CRC validation.  There would be a slight increase in decoding speed, and it would be a huge benefit to fuzzers because they wouldn't have to generate a valid CRC for each PNG chunk variation.  I don't recommend doing that.
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Whiteboard: [parity-ie][parity-chrome][parity-opera], gfx-noted → gfx-noted

Test results for http://www.schaik.com/pngsuite/pngsuite_xxx_png.html in 2020:

Chrome (80.0.3987.122) renders the following corrupt PNGs:
xcsn0g01 - incorrect IDAT checksum

IE (11.1.19041.0) still renders the following corrupt PNGs:
xhdn0g08 - incorrect IHDR checksum
xcsn0g01 - incorrect IDAT checksum

Firefox (75 Nightly) still renders none of the corrupt PNGs.

Webcompat Priority: --- → ?
Flags: needinfo?(seth.bugzilla)
Webcompat Priority: ? → revisit
See Also: → 1693190
Severity: normal → S3
Webcompat Priority: revisit → ---
See Also: → 1848544
You need to log in before you can comment on or make changes to this bug.