commit | 6a4194ed7d6fc920745f114e568d0fcdf021c0bc | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Tue Apr 24 00:02:36 2018 +0000 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Apr 24 00:09:41 2018 +0000 |
tree | 3afdeaac944d53ad8998df098bb6fdeaee4ebb03 | |
parent | e49292938f5763080adcba2ca1b28c73cc4f17fd [diff] |
check for finite before casting to int A UBSAN bot caught this when turning on skcms_OptimizeForSpeed(). I think it's kind of harmless... presumably the diff would be giant. Change-Id: I37764d24e0ba536aab3b1c02fe74c219b413013d Reviewed-on: https://skia-review.googlesource.com/123243 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>