Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Issue 1061123002: Attempted mitigation of font tables released early. (Closed)

Created:
5 years, 8 months ago by bungeman-skia
Modified:
5 years, 8 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Attempted mitigation of font tables released early. On Mac, it appears that sometimes fonts created from data have their table data used after the table data copy is freed. This appears to be most common with 'sbix' fonts for some reason, so pin that table while in use. Committed: https://skia.googlesource.com/skia/+/e3bea5cc609a82411edd98b0a3f0b542f65ba67e

Patch Set 1 #

Patch Set 2 : Only the changes wanted for now. #

Total comments: 2

Patch Set 3 : Add SkToBool #

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

Messages

Total messages: 16 (7 generated)
bungeman-skia
This is a very low impact experiment to see if keeping our own reference to ...
5 years, 8 months ago (2015-04-06 22:16:26 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061123002/20001
5 years, 8 months ago (2015-04-06 22:45:39 UTC) #4
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 8 months ago (2015-04-06 22:45:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061123002/20001
5 years, 8 months ago (2015-04-06 22:55:59 UTC) #8
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-06 23:01:59 UTC) #10
reed1
lgtm https://codereview.chromium.org/1061123002/diff/20001/src/ports/SkFontHost_mac.cpp File src/ports/SkFontHost_mac.cpp (right): https://codereview.chromium.org/1061123002/diff/20001/src/ports/SkFontHost_mac.cpp#newcode456 src/ports/SkFontHost_mac.cpp:456: , fHasColorGlyphs(CTFontGetSymbolicTraits(fFontRef) & SkCTFontColorGlyphsTrait) SkToBool ?
5 years, 8 months ago (2015-04-07 13:13:12 UTC) #11
bungeman-skia
https://codereview.chromium.org/1061123002/diff/20001/src/ports/SkFontHost_mac.cpp File src/ports/SkFontHost_mac.cpp (right): https://codereview.chromium.org/1061123002/diff/20001/src/ports/SkFontHost_mac.cpp#newcode456 src/ports/SkFontHost_mac.cpp:456: , fHasColorGlyphs(CTFontGetSymbolicTraits(fFontRef) & SkCTFontColorGlyphsTrait) On 2015/04/07 13:13:12, reed1 wrote: ...
5 years, 8 months ago (2015-04-07 14:28:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061123002/40001
5 years, 8 months ago (2015-04-07 14:28:59 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 14:34:42 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/e3bea5cc609a82411edd98b0a3f0b542f65ba67e

Powered by Google App Engine
This is Rietveld 408576698