Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.2, 6.1
-
Ubuntu 20.04 LTS
clang 10.0.0
Qt 5.15.2, Qt dev branch
Description
- Have a build of Qt configured with "-sanitize undefined".
- Build the attached project.
- Run the resulting program and pass the input file:
./report 26123.html
You will see output like:
/src/qt/qtbase/src/gui/text/qtextdocumentfragment.cpp:996:23: runtime error: signed integer overflow: 2147483647 + 40 cannot be represented in type 'int'
Found by oss-fuzz as issue 26123.