qt6-bb10/tests/auto/gui/painting
Hatem ElKharashy 69bed6cd3f QRadialGradient: Fix undefined behavior
The UBSan raises a division by zero in getRadialGradientValues. This can
be avoided by calculating the inverse in
qt_fetch_radial_gradient_template as a checker is done to avoid
division by zero there. (Credit to OSS-Fuzz)

Pick-to: 6.7
Fixes: QTBUG-120332
Change-Id: I798d1efc87ee07df7ca6f401aa476013cdbffe42
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2024-01-08 15:00:16 +02:00
..
qbrush CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qcolor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qcolorspace Increase setup precision and reduce test precision 2023-08-17 22:35:34 +02:00
qcolortransform CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpagelayout pagelayout: Fix inaccuracy in marginsPixels and paintRectPixels 2023-12-09 04:46:24 +02:00
qpageranges CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpagesize pagesize: Fix pixel overflow in QPageSize::sizePixels and rectPixels 2023-12-09 04:46:24 +02:00
qpaintengine CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpainter QRadialGradient: Fix undefined behavior 2024-01-08 15:00:16 +02:00
qpainterpath CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpainterpathstroker CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpathclipper CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpdfwriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpen CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpolygon CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qregion CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtransform CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qwmatrix Get rid of QMatrix 2020-02-28 08:57:57 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00