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

Issue 2176053002: Avoid integer-overflow in hb_glyph_position_t.y_advance (Closed)

Created:
4 years, 5 months ago by kojii
Modified:
4 years, 5 months ago
Reviewers:
drott, eae
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid integer-overflow in hb_glyph_position_t.y_advance This patch avoids integer-overflow when hb_glyph_position_t.y_advance is LONG_MIN. BUG=630227 Committed: https://crrev.com/17fe9abaa3e964184be9940b0b8630940785a788 Cr-Commit-Position: refs/heads/master@{#407744}

Patch Set 1 #

Patch Set 2 : style fix #

Patch Set 3 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 22 (15 generated)
kojii
PTAL. Not sure if this is worth a fix, but I suppose this is slightly ...
4 years, 5 months ago (2016-07-24 13:19:09 UTC) #9
drott
I am not sure, this LGTM for me - perhaps with adding a comment that ...
4 years, 5 months ago (2016-07-25 13:56:57 UTC) #10
kojii
Clamping font size is a good idea, but advances can be any larger than font ...
4 years, 5 months ago (2016-07-25 16:09:43 UTC) #11
eae
ok but please add a comment LGTM
4 years, 5 months ago (2016-07-25 18:29:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2176053002/40001
4 years, 5 months ago (2016-07-26 07:55:18 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-26 09:12:06 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-26 09:14:53 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/17fe9abaa3e964184be9940b0b8630940785a788
Cr-Commit-Position: refs/heads/master@{#407744}

Powered by Google App Engine
This is Rietveld 408576698