aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-05-03 13:04:10 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-03 18:33:12 +0000
commit884bce709a73bc19f9e347324cebe3dad3a9701a (patch)
tree63cd48d447d58a868eafaa2dc4226f9f3ed70093 /tests/PathTest.cpp
parent0e6e651a974a9bb879eac83f7b74490f350e1894 (diff)
check index for valid before subtracting
In particular, we can't blinding say index - 1 if we don't know what index is (e.g. what if index is 0x80000000?) Bug: oss-fuzz:6119 Change-Id: I31e7964709f9017018a51e29c306dbc48dc88f7d Reviewed-on: https://skia-review.googlesource.com/125346 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/PathTest.cpp')
0 files changed, 0 insertions, 0 deletions