aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLightingShader.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2016-07-22 10:56:26 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-22 10:56:26 -0700
commit8a8accbcd1958c1646246b9b994fb47a3b5a6021 (patch)
tree86353e74d8a7fd00c073746029ad0681a8376b25 /src/core/SkLightingShader.cpp
parent4c6e47a8a827077e36fa5feb4ab5ac7435d8276b (diff)
limit number of searched roots
Extreme numbers can generate more than three found cubic roots when the roots are found through a binary search. Fail in this case. TBR=reed@google.com BUG=630649 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2176733002 Review-Url: https://codereview.chromium.org/2176733002
Diffstat (limited to 'src/core/SkLightingShader.cpp')
0 files changed, 0 insertions, 0 deletions