diff options
author | 2016-12-13 09:42:20 -0500 | |
---|---|---|
committer | 2016-12-13 15:22:27 +0000 | |
commit | 72245c522ab65593239f2056df16082edb4e0a2e (patch) | |
tree | 3783f55914859d1c317b58126521a7c851cfa822 /src/gpu/GrRectanizer_skyline.cpp | |
parent | 941e7e2c9567ab1d8a3b2d1b0e3db71ee5eb75c9 (diff) |
Avoid int64 overflow in SkClampRange
Update sk_64_smul_check to detect the numeric_limits<int64_t>::min()
case (which cannot be safely passed to SkTAbs), and fail.
BUG=skia:6019
R=reed@google.com,mtklein@google.com
Change-Id: I5f252be7e9377d3261f992b53f2b893899cbe960
Reviewed-on: https://skia-review.googlesource.com/5863
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/gpu/GrRectanizer_skyline.cpp')
0 files changed, 0 insertions, 0 deletions