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

Issue 2485383004: Add a null check for token creation to avoid crash (Closed)

Created:
4 years, 1 month ago by Navid Zolghadr
Modified:
4 years, 1 month ago
Reviewers:
dtapuska, Rick Byers
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org, Navid Zolghadr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a null check for token creation to avoid crash If touchpoint hit test doesn't return a node the its targetFrame will be null and it could cause a crash. BUG=663608 Committed: https://crrev.com/553e31530cf9dee59135026b5644dcdef0b0d181 Cr-Commit-Position: refs/heads/master@{#431139}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add the emptiness check #

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

Messages

Total messages: 17 (9 generated)
Navid Zolghadr
4 years, 1 month ago (2016-11-09 21:03:29 UTC) #2
dtapuska
lgtm % nit https://codereview.chromium.org/2485383004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2485383004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode321 third_party/WebKit/Source/core/input/PointerEventManager.cpp:321: !m_inCanceledStateForPointerTypeTouch && touchInfos[0].targetFrame) { I'd feel ...
4 years, 1 month ago (2016-11-09 21:12:14 UTC) #3
Navid Zolghadr
https://codereview.chromium.org/2485383004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2485383004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode321 third_party/WebKit/Source/core/input/PointerEventManager.cpp:321: !m_inCanceledStateForPointerTypeTouch && touchInfos[0].targetFrame) { On 2016/11/09 21:12:14, dtapuska wrote: ...
4 years, 1 month ago (2016-11-09 21:18:04 UTC) #5
dtapuska
On 2016/11/09 21:18:04, Navid Zolghadr wrote: > https://codereview.chromium.org/2485383004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp > File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): > > https://codereview.chromium.org/2485383004/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode321 ...
4 years, 1 month ago (2016-11-09 21:30:50 UTC) #7
Rick Byers
Thank you! LGTM
4 years, 1 month ago (2016-11-10 00:30:25 UTC) #10
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/2485383004/20001
4 years, 1 month ago (2016-11-10 00:56:24 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-10 02:06:59 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 02:09:08 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/553e31530cf9dee59135026b5644dcdef0b0d181
Cr-Commit-Position: refs/heads/master@{#431139}

Powered by Google App Engine
This is Rietveld 408576698