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 1580113002: Remove size check from SkCodec (Closed)

Created:
4 years, 11 months ago by msarett
Modified:
4 years, 11 months ago
Reviewers:
scroggo, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Remove size check from SkCodec This check is useless because it is vulnerable to integer overflow. Also, I don't think this is the right way to solve the problem of "too large" images. For example, many image specs allow images larger than this, so we should too. BUG=skia:4667 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1580113002 Committed: https://skia.googlesource.com/skia/+/f44631b133909bbf98c13e53ec11bf8cd87a2dc4

Patch Set 1 #

Patch Set 2 : Remove from blacklist #

Total comments: 3

Patch Set 3 : Fix return statements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -17 lines) Patch
M src/codec/SkCodec.cpp View 1 2 1 chunk +3 lines, -14 lines 0 comments Download
M tools/xsan.blacklist View 1 1 chunk +0 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (7 generated)
msarett
4 years, 11 months ago (2016-01-12 20:01:36 UTC) #3
scroggo
> Remove size check from SkCodec > > This check is useless because it is ...
4 years, 11 months ago (2016-01-12 22:24:20 UTC) #4
msarett
> > I will follow up with a new approach to this problem. > What ...
4 years, 11 months ago (2016-01-13 16:38:58 UTC) #8
scroggo
lgtm On 2016/01/13 16:38:58, msarett wrote: > > > I will follow up with a ...
4 years, 11 months ago (2016-01-13 18:35:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580113002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580113002/60001
4 years, 11 months ago (2016-01-13 18:37:33 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-13 18:54:23 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/f44631b133909bbf98c13e53ec11bf8cd87a2dc4

Powered by Google App Engine
This is Rietveld 408576698