diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2025-03-26 12:46:57 +0100 |
---|---|---|
committer | Robert Löhning <robert.loehning@qt.io> | 2025-04-30 20:51:40 +0000 |
commit | 2b7ecfab7d8cb149ffc02285906f95906f2f1343 (patch) | |
tree | 07969989caebb36509d4bc0904dcb1c4546b34cd /cmake/QtGenerateVersionScript.cmake | |
parent | 70d3293d72a1a612d375447a6f46ea223be1f9cd (diff) |
In some extreme cases we can return a finite float, and then turn it infinite when multiplying it to calculate the index positions. Avoid the whole thing by clamping to a brightness of +-32768 times the white point standard, which is well within current HDR standards. Credit to OSS-Fuzz which detected the assert. Pick-to: 6.9 6.8 Change-Id: If007732a8d59ea27514f17674d318a099a057281 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Diffstat (limited to 'cmake/QtGenerateVersionScript.cmake')
0 files changed, 0 insertions, 0 deletions