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

Issue 2761303003: Make ICO fail on truncated data (Closed)

Created:
3 years, 9 months ago by scroggo_chromium
Modified:
3 years, 9 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ICO fail on truncated data If all the data has been received, but decoding is not complete, mark the ICOImageDecoder as having failed. This was already the case for BMP in ICO; make PNG in ICO match. Add a test. Brought up in crrev.com/2754003008 Review-Url: https://codereview.chromium.org/2761303003 Cr-Commit-Position: refs/heads/master@{#458731} Committed: https://chromium.googlesource.com/chromium/src/+/c649a390784c87a79d85cefbc6f9bd7097adc207

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -7 lines) Patch
M third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.cpp View 1 chunk +12 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp View 1 chunk +18 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (8 generated)
scroggo_chromium
3 years, 9 months ago (2017-03-21 16:16:22 UTC) #2
Peter Kasting
LGTM
3 years, 9 months ago (2017-03-21 22:41:09 UTC) #7
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/2761303003/1
3 years, 9 months ago (2017-03-22 13:20:28 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 13:26:39 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c649a390784c87a79d85cefbc6f9...

Powered by Google App Engine
This is Rietveld 408576698