Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.3, 6.5
-
Ubuntu 20.04 LTS
clang 10.0.0
Description
- 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.
Attachments
Issue Links
- resulted from
-
QTBUG-99407 [REG 6.1.3 -> 6.2.0] Loading svg file takes too long
- Closed