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

Issue 1318393004: Fix bmp bug in ReadHeader() (Closed)

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

Description

Fix bmp bug in ReadHeader() For BmpMaskCodecs, we need to skip any offset after the header to get to the start of pixel data. Before this fix, we only skipped this data when codecOut is non-NULL (instead of on every call to ReadHeader()). https://gold.skia.org/search?q=1&neg=true&unt=false&query=name%3Drgb16-565pal.bmp_0.200%26name%3Drgb16-565pal.bmp%26name%3Drgb16-565pal.bmp_0.250%26name%3Drgb16-565pal.bmp_0.333%26name%3Drgb16-565pal.bmp_0.375%26name%3Drgb16-565pal.bmp_0.400%26name%3Drgb16-565pal.bmp_0.500%26source_type%3Dimage BUG=skia: Committed: https://skia.googlesource.com/skia/+/9aa32d1d830c030000c1178b1297035a9b53d5bc

Patch Set 1 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M src/codec/SkBmpCodec.cpp View 4 chunks +18 lines, -14 lines 1 comment Download

Depends on Patchset:

Messages

Total messages: 8 (3 generated)
msarett
5 years, 3 months ago (2015-09-01 20:57:09 UTC) #3
scroggo
lgtm https://codereview.chromium.org/1318393004/diff/20001/src/codec/SkBmpCodec.cpp File src/codec/SkBmpCodec.cpp (right): https://codereview.chromium.org/1318393004/diff/20001/src/codec/SkBmpCodec.cpp#newcode462 src/codec/SkBmpCodec.cpp:462: // Maybe we don't want to try to ...
5 years, 3 months ago (2015-09-01 21:31:26 UTC) #4
scroggo
lgtm lgtm
5 years, 3 months ago (2015-09-01 21:31:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1318393004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1318393004/20001
5 years, 3 months ago (2015-09-01 21:35:39 UTC) #7
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 21:40:49 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://skia.googlesource.com/skia/+/9aa32d1d830c030000c1178b1297035a9b53d5bc

Powered by Google App Engine
This is Rietveld 408576698