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

Issue 2399043002: Harden SkPicturePlayback::handleOp() skips (Closed)

Created:
4 years, 2 months ago by f(malita)
Modified:
4 years, 2 months ago
Reviewers:
mtklein, mtklein_C, reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Harden SkPicturePlayback::handleOp() skips SkValidatingReadBuffer::skip() may return null - tread more carefully around it. BUG=skia:5828 R=reed@google.com,mtklein@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2399043002 Committed: https://skia.googlesource.com/skia/+/d87bd7cfd1dae55fbe4331586aacac3468d59a77

Patch Set 1 #

Patch Set 2 : BREAK_ON_READ_ERROR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -23 lines) Patch
M src/core/SkPicturePlayback.cpp View 1 36 chunks +126 lines, -23 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
f(malita)
4 years, 2 months ago (2016-10-06 16:08:32 UTC) #2
mtklein_C
This seems like it'd be easier to maintain if the null checks are all an ...
4 years, 2 months ago (2016-10-06 16:22:36 UTC) #6
f(malita)
On 2016/10/06 16:22:36, mtklein_C wrote: > This seems like it'd be easier to maintain if ...
4 years, 2 months ago (2016-10-06 18:19:15 UTC) #9
reed1
break or return -- not sure if one is better (from the macro) lgtm
4 years, 2 months ago (2016-10-06 19:06:50 UTC) #14
mtklein_C
lgtm
4 years, 2 months ago (2016-10-06 19:08:50 UTC) #16
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/2399043002/20001
4 years, 2 months ago (2016-10-06 19:08:56 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 19:09:53 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/d87bd7cfd1dae55fbe4331586aacac3468d59a77

Powered by Google App Engine
This is Rietveld 408576698