Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4128)

Issue 5786057: Prevent getting per glyph data if maxp table says 0 glyphs. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by arthurhsu
Modified:
12 years, 6 months ago
Reviewers:
Steve VanDeBogart
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Prevent getting per glyph data if maxp table says 0 glyphs. Fix crbug.com/117322 crash BUG=crbug.com/117322 TEST=existing

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update per code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/ports/SkFontHost_win.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4
arthurhsu
12 years, 6 months ago (2012-03-08 19:01:20 UTC) #1
Steve VanDeBogart
http://codereview.appspot.com/5786057/diff/1/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/5786057/diff/1/src/ports/SkFontHost_win.cpp#newcode1103 src/ports/SkFontHost_win.cpp:1103: if (otm.otmTextMetrics.tmPitchAndFamily & TMPF_TRUETYPE) { Why not check for ...
12 years, 6 months ago (2012-03-08 19:05:31 UTC) #2
arthurhsu
http://codereview.appspot.com/5786057/diff/1/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/5786057/diff/1/src/ports/SkFontHost_win.cpp#newcode1103 src/ports/SkFontHost_win.cpp:1103: if (otm.otmTextMetrics.tmPitchAndFamily & TMPF_TRUETYPE) { On 2012/03/08 19:05:31, Steve ...
12 years, 6 months ago (2012-03-08 19:14:45 UTC) #3
Steve VanDeBogart
12 years, 6 months ago (2012-03-08 19:42:05 UTC) #4
LGTM.  Committed in r3345
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b