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

Issue 2825993002: Prevent integer overflows in ANPlusB handling (Closed)

Created:
3 years, 8 months ago by meade_UTC10
Modified:
3 years, 7 months ago
Reviewers:
nainar, esprehn, rune
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent integer overflows in ANPlusB handling BUG=675112 Review-Url: https://codereview.chromium.org/2825993002 Cr-Commit-Position: refs/heads/master@{#470899} Committed: https://chromium.googlesource.com/chromium/src/+/111fffdac5769c2358cd7e1d272529bbcca41700

Patch Set 1 #

Patch Set 2 : Update tests and don't compare signed/unsigned #

Total comments: 8

Patch Set 3 : Fix formatting #

Patch Set 4 : Remove incorrect test - testing input as -1 for unsigned doesn't make sense #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -11 lines) Patch
M third_party/WebKit/Source/core/css/CSSSelector.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSSelector.cpp View 1 2 2 chunks +12 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSSelectorTest.cpp View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp View 3 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp View 1 2 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
meade_UTC10
If this seems like deja-vu, it is: https://codereview.chromium.org/2191253002 I made a new CL instead of ...
3 years, 8 months ago (2017-04-20 02:52:47 UTC) #8
nainar
lgtm
3 years, 8 months ago (2017-04-20 06:42:25 UTC) #11
nainar
rs lgtm since I see you fixed esprehn@'s main concern
3 years, 8 months ago (2017-04-20 06:42:37 UTC) #12
rune
lgtm with nits https://codereview.chromium.org/2825993002/diff/20001/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp File third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp (right): https://codereview.chromium.org/2825993002/diff/20001/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp#newcode88 third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp:88: EXPECT_EQ(test_case.a, ab.first); On 2017/04/20 02:52:47, meade_UTC10 ...
3 years, 8 months ago (2017-04-20 10:51:47 UTC) #14
meade_UTC10
https://codereview.chromium.org/2825993002/diff/20001/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp File third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp (right): https://codereview.chromium.org/2825993002/diff/20001/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp#newcode129 third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp:129: EXPECT_STREQ(list.SelectorsText().Ascii().Data(), test_case[1]); On 2017/04/20 10:51:47, rune wrote: > Isn't ...
3 years, 7 months ago (2017-05-05 02:48:46 UTC) #15
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/2825993002/40001
3 years, 7 months ago (2017-05-05 02:49:07 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/436715)
3 years, 7 months ago (2017-05-05 04:05:18 UTC) #20
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/2825993002/60001
3 years, 7 months ago (2017-05-11 08:17:26 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 10:19:32 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/111fffdac5769c2358cd7e1d2725...

Powered by Google App Engine
This is Rietveld 408576698