diff options
author | Florin Malita <fmalita@chromium.org> | 2018-05-07 10:02:13 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-07 15:19:39 +0000 |
commit | 0ca7a88e64500df906b6c24e99a81c40848725a2 (patch) | |
tree | 6438f51c8ab1e465a4c98c6811ad6ad99f4d3ac2 /infra/bots | |
parent | c3b0822d50e48439febebe176b092295c8f61621 (diff) |
[skottie] More defensive array indexing
Rapidjson's array [] operator asserts the index is valid (instead of
returning a null value when out-of-range) -> we must check.
Bug: skia:7918
Change-Id: Ice4a6e6670a824da0d423da4a6f92414cd0dc252
Reviewed-on: https://skia-review.googlesource.com/126441
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'infra/bots')
0 files changed, 0 insertions, 0 deletions