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

Issue 2234663002: Prevent degenerate linear gradient instantiation (Closed)

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

Description

Prevent degenerate linear gradient instantiation If the point distance exceeds SkScalar, nasty things tend to happen. R=reed@google.com BUG=636194 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2234663002 Committed: https://skia.googlesource.com/skia/+/c52310402c56e535e574a0a53e2355e5350e952d

Patch Set 1 #

Patch Set 2 : add a regression test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M src/effects/gradients/SkGradientShader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/GradientTest.cpp View 1 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
f(malita)
4 years, 4 months ago (2016-08-10 03:39:14 UTC) #2
reed1
lgtm
4 years, 4 months ago (2016-08-10 12:14:56 UTC) #8
reed1
wonder if we want similar checks/tests for radial etc.
4 years, 4 months ago (2016-08-10 12:15:18 UTC) #9
reed1
lets hook up with kevin to start writing explicit fuzzers for gradients
4 years, 4 months ago (2016-08-10 12:16:00 UTC) #11
f(malita)
On 2016/08/10 12:16:00, reed1 wrote: > lets hook up with kevin to start writing explicit ...
4 years, 4 months ago (2016-08-10 12:44:46 UTC) #12
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/2234663002/20001
4 years, 4 months ago (2016-08-10 12:44:55 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 12:45:53 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/c52310402c56e535e574a0a53e2355e5350e952d

Powered by Google App Engine
This is Rietveld 408576698