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

Issue 115323004: Improved SkPathRef interface security (Closed)

Created:
7 years ago by robertphillips
Modified:
7 years ago
Reviewers:
bsalomon, caryclark, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

This still leaves the CreateEmpty/CreateTransformedCopy hole but (short of making a third class that exists solely to let SkPath access them) this at least improves things.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix private pathref test pattern #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -72 lines) Patch
M include/core/SkPath.h View 1 chunk +3 lines, -1 line 0 comments Download
M include/core/SkPathRef.h View 1 8 chunks +23 lines, -8 lines 0 comments Download
M src/core/SkPathRef.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M tests/PathTest.cpp View 1 4 chunks +59 lines, -62 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
robertphillips
https://codereview.chromium.org/115323004/diff/1/src/core/SkPathRef.cpp File src/core/SkPathRef.cpp (left): https://codereview.chromium.org/115323004/diff/1/src/core/SkPathRef.cpp#oldcode26 src/core/SkPathRef.cpp:26: fPathRef->fGenerationID = 0; This is now deferred until points ...
7 years ago (2013-12-13 18:01:36 UTC) #1
bsalomon
lgtm
7 years ago (2013-12-13 19:30:08 UTC) #2
robertphillips
7 years ago (2013-12-13 19:36:42 UTC) #3
Message was sent while issue was closed.
committed as r12676

Powered by Google App Engine
This is Rietveld 408576698