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

Issue 2452673002: Always use a color table with 256 colors (Closed)

Created:
4 years, 1 month ago by scroggo_chromium
Modified:
4 years, 1 month ago
Reviewers:
msarett
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Always use a color table with 256 colors Speculative fix for skbug.com/5883 We are hitting an assert (which I have not been able to repro - still need to get the skp that triggers it) because we are trying to read beyond the end of the color table. We use 8-bit indices, so 256 should be enough to prevent going beyond the end. There is only one case when we use a smaller color table - when it is a dummy. Make the dummy full size. NOTREECHECKS=true BUG=skia:5883 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2452673002 Committed: https://skia.googlesource.com/skia/+/0057ac11fccc82bc5b0c1bb0aefe838cc04efd13

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M src/codec/SkGifCodec.cpp View 1 2 chunks +5 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (7 generated)
scroggo_chromium
4 years, 1 month ago (2016-10-25 16:03:24 UTC) #3
msarett
lgtm I assume that the plan is to eventually track down the skp and understand ...
4 years, 1 month ago (2016-10-25 17:02:49 UTC) #4
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/2452673002/1
4 years, 1 month ago (2016-10-25 18:00:41 UTC) #6
scroggo_chromium
On 2016/10/25 17:02:49, msarett wrote: > lgtm > > I assume that the plan is ...
4 years, 1 month ago (2016-10-25 19:31:23 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/2452673002/1
4 years, 1 month ago (2016-10-25 19:42:43 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 19:48:28 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/0057ac11fccc82bc5b0c1bb0aefe838cc04efd13

Powered by Google App Engine
This is Rietveld 408576698