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

Issue 656673005: Don't read random data in ICO check. (Closed)

Created:
6 years, 2 months ago by scroggo
Modified:
6 years, 2 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Don't read random data in ICO check. Check to ensure SkStream::read succeeds before checking the result. Committed: https://skia.googlesource.com/skia/+/b752f9f83891a72a39d2027eb33e3aecdea9e9e8

Patch Set 1 #

Total comments: 1

Patch Set 2 : Respond to comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
M src/images/SkImageDecoder_libico.cpp View 1 1 chunk +5 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
scroggo
6 years, 2 months ago (2014-10-24 01:23:40 UTC) #2
mtklein
lgtm https://codereview.chromium.org/656673005/diff/1/src/images/SkImageDecoder_libico.cpp File src/images/SkImageDecoder_libico.cpp (left): https://codereview.chromium.org/656673005/diff/1/src/images/SkImageDecoder_libico.cpp#oldcode405 src/images/SkImageDecoder_libico.cpp:405: static bool is_ico(SkStreamRewindable* stream) { Guh.. I know ...
6 years, 2 months ago (2014-10-24 01:59:06 UTC) #3
scroggo
On 2014/10/24 01:59:06, mtklein wrote: > lgtm > > https://codereview.chromium.org/656673005/diff/1/src/images/SkImageDecoder_libico.cpp > File src/images/SkImageDecoder_libico.cpp (left): > ...
6 years, 2 months ago (2014-10-24 13:40:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656673005/20001
6 years, 2 months ago (2014-10-24 13:41:01 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 13:50:01 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as b752f9f83891a72a39d2027eb33e3aecdea9e9e8

Powered by Google App Engine
This is Rietveld 408576698