commit | 72b15516ad6e224e511d9fb6795e95370073aec1 | [log] [tgz] |
---|---|---|
author | L. David Baron <dbaron@chromium.org> | Tue Jun 15 19:40:28 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 15 19:40:28 2021 |
tree | cee79fa836ecb30d7a2ab7df9d4e0c1ea759fbb8 | |
parent | 1f6ae9b4d48950777d3e7077e1f27a02fea225a1 [diff] |
Run new coplanar clamping code only when std::isnormal(length). The new clamping code that keeps points coplanar is only needed when we have real things to draw. We don't need to run it for fuzzer-generated testcases that have introduced infinite or NaN coordinates, so checking std::isnormal() is probably the correct test here. std::isnormal() excludes 0, denormal floats (floats smaller than 1.0 times 2 to the minimum exponent, whose reciprocals will be infinite), +/- infinity, and NaN. Fixed: 1219297 Change-Id: I2764d5b43946075ee352c859c1fd88edf04f6291 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2961271 Reviewed-by: Robert Flack <flackr@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/master@{#892682}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.