missing null-checks when loading glyph metrics in gfxHarfBuzzShaper

RESOLVED FIXED in Firefox 39

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: jfkthame, Assigned: jfkthame)

Tracking

unspecified
mozilla39
Points:
---

Firefox Tracking Flags

(firefox39 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
We're missing a couple of null checks in gfxHarfBuzzShaper, when loading the glyph metrics tables (hmtx, vmtx). Although the possibility of hitting these is pretty remote, we should fix them to be on the safe side.
(Assignee)

Comment 1

4 years ago
Created attachment 8573231 [details] [diff] [review]
Check for missing glyph metrics tables
Attachment #8573231 - Flags: review?(jdaggett)
(Assignee)

Updated

4 years ago
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED

Updated

4 years ago
Attachment #8573231 - Flags: review?(jdaggett) → review+
https://hg.mozilla.org/mozilla-central/rev/8803ba34a35a
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
status-firefox39: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.