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

Issue 2021673002: [M52] Cherry-pick e6c515f3d34096426b6822ad90a757131e8baf31 (Closed)

Created:
4 years, 6 months ago by f(malita)
Modified:
4 years, 6 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@m52
Target Ref:
refs/heads/chrome/m52
Project:
skia
Visibility:
Public.

Description

[M52] Cherry-pick e6c515f3d34096426b6822ad90a757131e8baf31 Fix int32 overflow in LinearGradientContext::shade4_dx_clamp The unconditional increment in shade4_dx_clamp can overflow int32 => n == SK_MinS32 => count ~= SK_MinS32 => we skip the main shader loop 'cause count < 0 Also include trivial 0e59bb7aaad272ac42d6fba53e8439bd9fa1ff3d followup to ensure we're not tripping ASAN. TBR=reed@google.com,mtklein@google.com BUG=chromium:599458 Review-Url: https://codereview.chromium.org/2010843002 NOTREECHECKS=true NOTRY=true NOPRESUBMIT=true Committed: https://skia.googlesource.com/skia/+/1fd666cbb9655e1ce5f37f435d1f9ea2d7b47827

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -2 lines) Patch
M src/effects/gradients/SkLinearGradient.cpp View 2 chunks +10 lines, -2 lines 0 comments Download
M tests/GradientTest.cpp View 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (4 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021673002/1
4 years, 6 months ago (2016-05-28 13:57:28 UTC) #4
commit-bot: I haz the power
4 years, 6 months ago (2016-05-28 13:57:41 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/1fd666cbb9655e1ce5f37f435d1f9ea2d7b47827

Powered by Google App Engine
This is Rietveld 408576698