diff options
author | 2018-04-19 10:34:08 -0400 | |
---|---|---|
committer | 2018-04-19 16:45:45 +0000 | |
commit | 12ee97c9910ee3419ce206b15b3948b2354857d2 (patch) | |
tree | 5ccb32bb3bbb95bd9654b3f217f1f054077d0c1d /fuzz/FuzzCanvas.cpp | |
parent | c4e384e5ad85250920cac6e8ee0e2a14b69d67e0 (diff) |
crash rather than overflow in SkTDArray
This adds explicit overflow checks to the two likeliest
places where non-buggy code could overflow SkTDArray.
We have an #ifdef'd out PathMeasure_explosion GM that
overflows before this CL and aborts with it.
Bug: skia:7674
Change-Id: Ia0c430f4a8bb9bad687d13c875f604fd7da45aab
Reviewed-on: https://skia-review.googlesource.com/122342
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'fuzz/FuzzCanvas.cpp')
0 files changed, 0 insertions, 0 deletions