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

Issue 1453163002: Fix array overrun and add test. (Closed)

Created:
5 years, 1 month ago by herb_g
Modified:
5 years, 1 month ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix buffer overrun, bit overrun and add a test. BUG=539691 Committed: https://skia.googlesource.com/skia/+/5520dede2968372e79c572e37b7f325524ee0739

Patch Set 1 #

Patch Set 2 : fix release mode compile #

Patch Set 3 : make msvc happy #

Patch Set 4 : remove stack alloc array #

Patch Set 5 : fix long line #

Total comments: 6

Patch Set 6 : rewrite #

Patch Set 7 : fix rowbytes #

Patch Set 8 : had x and y swapped #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -43 lines) Patch
M src/core/SkBlitter.cpp View 1 2 3 4 5 6 7 4 chunks +49 lines, -43 lines 0 comments Download
A tests/BlitMaskClip.cpp View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (16 generated)
herb_g
5 years, 1 month ago (2015-11-17 15:33:47 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453163002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453163002/1
5 years, 1 month ago (2015-11-17 15:34:03 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/4272)
5 years, 1 month ago (2015-11-17 15:36:04 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453163002/40001
5 years, 1 month ago (2015-11-17 15:48:40 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/4269)
5 years, 1 month ago (2015-11-17 15:51:01 UTC) #11
herb_g
remove stack alloc array
5 years, 1 month ago (2015-11-17 15:55:08 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453163002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453163002/60001
5 years, 1 month ago (2015-11-17 15:55:40 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-17 16:09:16 UTC) #16
herb_g
fix long line
5 years, 1 month ago (2015-11-17 16:13:52 UTC) #17
reed1
hoooray! so glad you took the time to find/fix this. https://codereview.chromium.org/1453163002/diff/80001/src/core/SkBlitter.cpp File src/core/SkBlitter.cpp (right): https://codereview.chromium.org/1453163002/diff/80001/src/core/SkBlitter.cpp#newcode137 ...
5 years, 1 month ago (2015-11-17 16:24:32 UTC) #18
herb_g
rewrite
5 years, 1 month ago (2015-11-17 19:11:57 UTC) #19
herb_g
fix rowbytes
5 years, 1 month ago (2015-11-17 19:26:45 UTC) #20
herb_g
https://codereview.chromium.org/1453163002/diff/80001/src/core/SkBlitter.cpp File src/core/SkBlitter.cpp (right): https://codereview.chromium.org/1453163002/diff/80001/src/core/SkBlitter.cpp#newcode137 src/core/SkBlitter.cpp:137: U8CPU rightMask = 0xFF << (8 - (clip.width() & ...
5 years, 1 month ago (2015-11-17 20:14:03 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453163002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453163002/120001
5 years, 1 month ago (2015-11-17 20:14:20 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/4341)
5 years, 1 month ago (2015-11-17 20:16:21 UTC) #25
mtklein
May want to keep an eye on gold diffs too: https://gold.skia.org/search2?issue=1453163002&unt=true&query=source_type%3Dgm&master=false
5 years, 1 month ago (2015-11-17 20:33:02 UTC) #27
herb_g
had x and y swapped
5 years, 1 month ago (2015-11-17 21:19:17 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453163002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453163002/140001
5 years, 1 month ago (2015-11-17 21:19:45 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-17 21:34:00 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453163002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453163002/140001
5 years, 1 month ago (2015-11-17 21:41:49 UTC) #34
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 1 month ago (2015-11-17 21:41:51 UTC) #35
herb_g
Ok. The presubmits and gold look good. PTAL Trybot results: https://gold.skia.org/search2?issue=1453163002&unt=true&query=source_type%3Dgm&master=false
5 years, 1 month ago (2015-11-17 21:42:41 UTC) #36
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Please ask for an LGTM from a full ...
5 years, 1 month ago (2015-11-18 03:41:01 UTC) #38
reed1
lgtm
5 years, 1 month ago (2015-11-18 18:40:14 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1453163002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1453163002/140001
5 years, 1 month ago (2015-11-18 18:49:53 UTC) #41
commit-bot: I haz the power
5 years, 1 month ago (2015-11-18 18:50:37 UTC) #42
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/5520dede2968372e79c572e37b7f325524ee0739

Powered by Google App Engine
This is Rietveld 408576698