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

Issue 1225683008: When GrAAConvesTesselator was merging the first and last point of the array, it was deleting the la… (Closed)

Created:
5 years, 5 months ago by ethannicholas
Modified:
5 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

When GrAAConvesTesselator was merging the first and last point of the array, it was deleting the last point without checking to see if any of the previous points shared the same index. This led to continuing to use the index of a deleted point and thus referencing memory past the end of the vertex array. BUG=chromium:505227 Committed: https://skia.googlesource.com/skia/+/0dacc6708d5db4fbe755d7b1d0716b51fe703058

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/gpu/GrAAConvexTessellator.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 7 (3 generated)
ethannicholas
5 years, 5 months ago (2015-07-07 18:29:58 UTC) #2
robertphillips
lgtm https://codereview.chromium.org/1225683008/diff/1/src/gpu/GrAAConvexTessellator.cpp File src/gpu/GrAAConvexTessellator.cpp (right): https://codereview.chromium.org/1225683008/diff/1/src/gpu/GrAAConvexTessellator.cpp#newcode685 src/gpu/GrAAConvexTessellator.cpp:685: dst[cur] = fused; const ? https://codereview.chromium.org/1225683008/diff/1/src/gpu/GrAAConvexTessellator.cpp#newcode686 src/gpu/GrAAConvexTessellator.cpp:686: int ...
5 years, 5 months ago (2015-07-07 18:50:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225683008/40001
5 years, 5 months ago (2015-07-07 19:27:56 UTC) #6
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 19:41:55 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/0dacc6708d5db4fbe755d7b1d0716b51fe703058

Powered by Google App Engine
This is Rietveld 408576698