6fa28d350c9d4331dcdccb46ed58c7fac1b40ddb
This ensures that the inputs are within range for the use of these function. Depending on the values passed, they can trigger FE_INVALID errors and thus NaN as return values. This can happen for example when feeding an invalid ICC profile to QColorSpace::fromIccProfile. Credit to OSS-Fuzz Fixes: QTBUG-137159 Pick-to: 6.5 Change-Id: I435a5768fbb7d3e6cb84d578703e7dde2e39a27e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit f12d046383decf8f468de62732c9cff7d4303cbf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 8706176f8f78df9bf5cc560fb80aefa3fda01d98) (cherry picked from commit f4822eec1855231f189e5348dffc29299f6edf93)
…
…
Description
No description provided
355 MiB
Languages
C++
83.9%
HTML
5%
C
3.9%
CMake
3.5%
Objective-C++
2%
Other
1.1%