Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15, 6.0
-
6974737695eae5a41bc8a3f344a4f1f199006f21 (qt/qtbase/dev) 28ba7ac1780b41924de267861826b01233618570 (qt/qtbase/6.0) 4cec3ecd2d52597311241d72c3f315bad89871f8 (qt/tqtc-qtbase/tqtc/lts-5.15)
Description
Reproduce by:
QLineF l(QPointF(0.5, 6e16), QPointF(0.5, 6e17));
l.setLength(123);
Produces warning if compiled with sanitize-undefined for the line
len /= v.length();
in setLength(), as length() returns 0.
Presumably related to https://codereview.qt-project.org/c/qt/qtbase/+/313237