Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
None
Description
User-facing QML APIs currently often lack checks for NaN/Inf values, which can trigger crashes or undefined behavior in further algorithmic use of such values. We should detect such cases with e.g. qIsFinite / qt_is_nan / qt_is_inf and sanitize the input.
Further discussion can be found here: https://codereview.qt-project.org/c/qt/qtdeclarative/+/629448