Closed Bug 1124535 Opened 10 years ago Closed 10 years ago

Check if we have a downscaler before using it to avoid assertions when decoding progressive JPEGs

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: seth, Assigned: seth)

References

Details

Attachments

(1 file)

While trying to trigger bug 1124342, I was able to trip a different assertion on techcrunch.com. I forgot to check if we have a downscaler in one case in nsJPEGDecoder, which causes us to assert when we decode a progressive JPEG.
Here's the patch.
Attachment #8552843 - Flags: review?(tnikkel)
Attachment #8552843 - Flags: review?(tnikkel) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: