commit | dd575bc0f1f59421a279de110874bea17d9d8706 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Mon Jan 10 10:11:08 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Jan 10 15:46:52 2022 +0000 |
tree | 25c1575789dc42909fcaf1a4ffe521e22d2e95dc | |
parent | 0267cb2d65add80a1aa27029f0f142cc956957a2 [diff] |
[skottie] Fix float->int overflow We do test for and catch int overflows, but after casting -- which is enough to trip clusterfuzz. Refactor to catch upfront. Bug: b/200722666 Bug: b/200663331 Bug: b/200662108 Change-Id: I26da4b1ca21ad0bc34384e957a30211402219841 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/493018 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Florin Malita <fmalita@google.com>