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

Issue 1213313002: Don't crash when decoding an invalid handle (Closed)

Created:
5 years, 5 months ago by abarth-chromium
Modified:
5 years, 5 months ago
Reviewers:
jackson_old, jackson
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, gregsimon, jackson_old
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Don't crash when decoding an invalid handle We shouldn't try to drain a data pipe when we have an invalid handle. Instead, we should just call the callback with |null|, like we do for decoding failures. R=jackson@google.com, jackson@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/f2c35368f92dfe2314dbd161f8ece22d4f6aecb4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M sky/engine/core/loader/CanvasImageDecoder.h View 2 chunks +5 lines, -0 lines 0 comments Download
M sky/engine/core/loader/CanvasImageDecoder.cpp View 3 chunks +17 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
abarth-chromium
5 years, 5 months ago (2015-06-29 20:57:12 UTC) #1
jackson
lgtm
5 years, 5 months ago (2015-06-29 20:58:41 UTC) #3
abarth-chromium
5 years, 5 months ago (2015-06-29 21:07:11 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f2c35368f92dfe2314dbd161f8ece22d4f6aecb4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698