Closed
Bug 978129
Opened 11 years ago
Closed 11 years ago
gfxFontUtils::DecodeFontName shouldn't assert on empty name string
Categories
(Core :: Graphics: Text, defect)
Core
Graphics: Text
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: jfkthame, Assigned: jfkthame)
Details
Attachments
(1 file)
1.24 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
See bug 963492 comment 8. We don't need an assertion here:
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxFontUtils.cpp#1278
as it's possible (though not particularly likely or advised) for there to be a zero-length name table string.
An NS_WARNING might occasionally prove useful. I wouldn't be surprised if certain name strings being empty could make a font unusable on some systems.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8383762 -
Flags: review?(jdaggett)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Updated•11 years ago
|
Attachment #8383762 -
Flags: review?(jdaggett) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Target Milestone: --- → mozilla30
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•