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

Issue 2043873005: Fix for rare crash in Poly::addEdge(). (Closed)

Created:
4 years, 6 months ago by Stephen White
Modified:
4 years, 6 months ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix for rare crash in Poly::addEdge(). Don't add an edge if the bottom vertex was already added, or if an island vertex has a left poly but no right poly. (Sorry for the lack of test, but the only reduction I could create was still a huge path and only crashes in Chrome.) BUG=617907 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2043873005 Committed: https://skia.googlesource.com/skia/+/93e3fff79eaaa86bc2fb740a42111a074ccc73ab

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cleanup #

Patch Set 3 : Revert inadvertent changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M src/gpu/GrTessellator.cpp View 1 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
Stephen White
Robert: PTAL. Thanks!
4 years, 6 months ago (2016-06-07 15:35:20 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873005/1
4 years, 6 months ago (2016-06-07 15:37:15 UTC) #6
Stephen White
Brian: PTAL. Thanks!
4 years, 6 months ago (2016-06-07 16:03:18 UTC) #8
bsalomon
On 2016/06/07 16:03:18, Stephen White wrote: > Brian: PTAL. Thanks! Would the path that crashed ...
4 years, 6 months ago (2016-06-07 16:07:57 UTC) #9
Stephen White
On 2016/06/07 16:07:57, bsalomon wrote: > On 2016/06/07 16:03:18, Stephen White wrote: > > Brian: ...
4 years, 6 months ago (2016-06-07 16:09:10 UTC) #10
bsalomon
https://codereview.chromium.org/2043873005/diff/1/src/gpu/GrTessellator.cpp File src/gpu/GrTessellator.cpp (right): https://codereview.chromium.org/2043873005/diff/1/src/gpu/GrTessellator.cpp#newcode421 src/gpu/GrTessellator.cpp:421: } else if (side == fTail->fSide) { Would it ...
4 years, 6 months ago (2016-06-07 16:21:53 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 16:59:39 UTC) #13
Stephen White
New patch up. PTAL. https://codereview.chromium.org/2043873005/diff/1/src/gpu/GrTessellator.cpp File src/gpu/GrTessellator.cpp (right): https://codereview.chromium.org/2043873005/diff/1/src/gpu/GrTessellator.cpp#newcode421 src/gpu/GrTessellator.cpp:421: } else if (side == ...
4 years, 6 months ago (2016-06-07 17:16:14 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873005/40001
4 years, 6 months ago (2016-06-07 17:17:17 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 17:30:07 UTC) #18
bsalomon
lgtm
4 years, 6 months ago (2016-06-07 19:32:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873005/40001
4 years, 6 months ago (2016-06-07 19:35:06 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 19:36:04 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/93e3fff79eaaa86bc2fb740a42111a074ccc73ab

Powered by Google App Engine
This is Rietveld 408576698