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

Issue 313393004: Bound RasterShapeInterval size to int (Closed)

Created:
6 years, 6 months ago by Bem Jones-Bey (adobe)
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink, rwlbuis
Visibility:
Public.

Description

Bound RasterShapeInterval size to int Everything in the code assumes that the interval size will always fit in an int. However, to make sure there are no negatives, the RasterShapeInterval constructor takes an unsigned. This clamps that value to make sure we can't overflow an int later. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175823

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/rendering/shapes/RasterShape.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Bem Jones-Bey (adobe)
WDYT?
6 years, 6 months ago (2014-06-09 18:05:32 UTC) #1
leviw_travelin_and_unemployed
On 2014/06/09 at 18:05:32, bjonesbe wrote: > WDYT? Can we get a test that tickles ...
6 years, 6 months ago (2014-06-09 18:19:06 UTC) #2
Bem Jones-Bey (adobe)
On 2014/06/09 18:19:06, leviw wrote: > On 2014/06/09 at 18:05:32, bjonesbe wrote: > > WDYT? ...
6 years, 6 months ago (2014-06-09 18:30:15 UTC) #3
Bem Jones-Bey (adobe)
On 2014/06/09 18:30:15, Bem Jones-Bey (adobe) wrote: > On 2014/06/09 18:19:06, leviw wrote: > > ...
6 years, 6 months ago (2014-06-09 21:15:10 UTC) #4
leviw_travelin_and_unemployed
On 2014/06/09 at 21:15:10, bjonesbe wrote: > How badly do you want that test? Unfortunately, ...
6 years, 6 months ago (2014-06-09 21:26:04 UTC) #5
Bem Jones-Bey (adobe)
The CQ bit was checked by bjonesbe@adobe.com
6 years, 6 months ago (2014-06-09 21:37:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bjonesbe@adobe.com/313393004/1
6 years, 6 months ago (2014-06-09 21:37:11 UTC) #7
Bem Jones-Bey (adobe)
On 2014/06/09 21:26:04, leviw wrote: > On 2014/06/09 at 21:15:10, bjonesbe wrote: > > How ...
6 years, 6 months ago (2014-06-09 21:37:16 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 21:45:28 UTC) #9
Message was sent while issue was closed.
Change committed as 175823

Powered by Google App Engine
This is Rietveld 408576698