Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.2.3, 6.6.1
-
Ubuntu 22.04 LTS
-
5c9457dbd (6.6), 9bbcb7079 (tqtc/lts-6.5), 418e3b417 (tqtc/lts-6.2)
Description
- Have a build of Qt including qtsvg.
No sanitizers needed. I used official builds from the online installer. - Build the attached project:
qt-cmake /tmp/report/ && cmake --build .
- Run the resulting binary passing the attached input file as parameter:
./report /tmp/report/63194.svg
This is occupying a CPU core for more than ten seconds.
When built on Qt 6.2.2, the same program finishes in about one second.
Google's oss-fuzz found this as issue 63194. I can still reproduce the issue, although the report was closed. Maybe this happened because the situation was even worse in the meantime. With Qt 6.2.3, the program runs for several minutes.
Attachments
For Gerrit Dashboard: QTBUG-120507 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
543181,4 | Skip parsing nested svg element | 6.6 | qt/qtsvg | Status: MERGED | +2 | 0 |
543813,2 | Skip parsing nested svg element | tqtc/lts-6.5 | qt/tqtc-qtsvg | Status: MERGED | +2 | 0 |
544029,2 | Skip parsing nested svg element | tqtc/lts-6.2 | qt/tqtc-qtsvg | Status: MERGED | +2 | 0 |