-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.3, 6.5
-
Ubuntu 20.04 LTS
clang 10.0.0
-
df6474955b7e661363b21d85dfa1cc3e46af515c
- Have a build of Qt including qtsvg configured with "-sanitize undefined".
- Use that to build the attached project.
qt-cmake /tmp/report/ && cmake --build .
- Run the resulting program and pass the input file.
./report /tmp/report/50637.svg
You will see output like:
/home/qtrob/dev/src/qt-dev_09.23-base_imageformats_svg/qtbase/src/gui/painting/qdrawhelper.cpp:5002:59: runtime error: signed integer overflow: -772328716 * 6 cannot be represented in type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/qtrob/dev/src/qt-dev_09.23-base_imageformats_svg/qtbase/src/gui/painting/qdrawhelper.cpp:5002:59 in
Google's oss-fuzz found this as issue 50637. That report is public now because is was closed as false negative. Two days later, it was replaced by the equivalent 52383.
- resulted from
-
QTBUG-99407 [REG 6.1.3 -> 6.2.0] Loading svg file takes too long
-
- Closed
-