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

Issue 1498923002: Fix overflow caught by ASAN. (Closed)

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

Description

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Refactor; remove SkBmpCodec::computeNumColors. #

Total comments: 4

Patch Set 3 : Make variable const. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -24 lines) Patch
M src/codec/SkBmpCodec.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M src/codec/SkBmpCodec.cpp View 1 1 chunk +0 lines, -13 lines 0 comments Download
M src/codec/SkBmpRLECodec.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/codec/SkBmpRLECodec.cpp View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M src/codec/SkBmpStandardCodec.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/codec/SkBmpStandardCodec.cpp View 1 2 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498923002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498923002/1
5 years ago (2015-12-03 20:22:35 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498923002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498923002/20001
5 years ago (2015-12-03 20:24:18 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-03 20:37:57 UTC) #8
dogben
I don't know if this is the correct fix, but it looks like the result ...
5 years ago (2015-12-03 20:41:34 UTC) #10
msarett
lgtm https://codereview.chromium.org/1498923002/diff/20001/src/codec/SkBmpCodec.cpp File src/codec/SkBmpCodec.cpp (right): https://codereview.chromium.org/1498923002/diff/20001/src/codec/SkBmpCodec.cpp#newcode557 src/codec/SkBmpCodec.cpp:557: uint32_t maxColors = fBitsPerPixel >= 32 ? UINT32_MAX ...
5 years ago (2015-12-03 20:55:22 UTC) #11
msarett
5 years ago (2015-12-03 21:03:48 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498923002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498923002/40001
5 years ago (2015-12-04 15:57:53 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-04 16:13:22 UTC) #17
dogben
On 2015/12/04 at 16:13:22, commit-bot wrote: > Dry run: This issue passed the CQ dry ...
5 years ago (2015-12-04 16:14:21 UTC) #18
msarett
LGTM
5 years ago (2015-12-04 16:19:53 UTC) #19
scroggo
On 2015/12/04 16:14:21, Ben Wagner wrote: > On 2015/12/04 at 16:13:22, commit-bot wrote: > > ...
5 years ago (2015-12-04 16:28:57 UTC) #20
dogben
https://codereview.chromium.org/1498923002/diff/40001/src/codec/SkBmpRLECodec.cpp File src/codec/SkBmpRLECodec.cpp (right): https://codereview.chromium.org/1498923002/diff/40001/src/codec/SkBmpRLECodec.cpp#newcode86 src/codec/SkBmpRLECodec.cpp:86: uint32_t numColorsToRead = fNumColors == 0 ? maxColors : ...
5 years ago (2015-12-04 16:34:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498923002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498923002/60001
5 years ago (2015-12-04 16:35:05 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://skia.googlesource.com/skia/+/886e5e41db5d6d42368f225785013c9308dc66bc
5 years ago (2015-12-04 16:48:29 UTC) #26
dogben
5 years ago (2015-12-04 20:19:45 UTC) #27
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698