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

Issue 1308053002: blink: prevent bitarray overflow (Closed)

Created:
5 years, 4 months ago by hendrikw
Modified:
5 years, 4 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

blink: prevent bitarray overflow While attempting to add a new css property, I ran into ASSERT_WITH_SECURITY_IMPLICATION(index < arraySize) while calling CSSAnimations::calculateTransitionUpdate. It looks like we normally don't include CSSPropertyInvalid, and use firstCSSProperty to offset the index. I've done the same here. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201080

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M Source/core/animation/css/CSSAnimations.cpp View 2 chunks +3 lines, -2 lines 1 comment Download

Messages

Total messages: 20 (9 generated)
hendrikw
PTAL, thanks!
5 years, 4 months ago (2015-08-21 18:12:22 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308053002/1
5 years, 4 months ago (2015-08-22 15:02:09 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/97252)
5 years, 4 months ago (2015-08-22 16:09:18 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308053002/1
5 years, 4 months ago (2015-08-22 16:35:20 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/102815)
5 years, 4 months ago (2015-08-22 17:25:13 UTC) #10
alancutter (OOO until 2018)
lgtm with nit. https://codereview.chromium.org/1308053002/diff/1/Source/core/animation/css/CSSAnimations.cpp File Source/core/animation/css/CSSAnimations.cpp (right): https://codereview.chromium.org/1308053002/diff/1/Source/core/animation/css/CSSAnimations.cpp#newcode561 Source/core/animation/css/CSSAnimations.cpp:561: listedProperties.set(id - firstCSSProperty); No need to ...
5 years, 4 months ago (2015-08-24 00:34:06 UTC) #12
alancutter (OOO until 2018)
> https://codereview.chromium.org/1308053002/diff/1/Source/core/animation/css/CSSAnimations.cpp#newcode561 > Source/core/animation/css/CSSAnimations.cpp:561: listedProperties.set(id - firstCSSProperty); > No need to subtract firstCSSProperty when you ...
5 years, 4 months ago (2015-08-24 00:36:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308053002/1
5 years, 4 months ago (2015-08-24 16:29:21 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/97537)
5 years, 4 months ago (2015-08-24 18:23:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308053002/1
5 years, 4 months ago (2015-08-24 23:20:43 UTC) #19
commit-bot: I haz the power
5 years, 4 months ago (2015-08-25 00:19:05 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201080

Powered by Google App Engine
This is Rietveld 408576698