Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85921

QTextDocument::setHtml slow on certain input

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.14.2, 5.15.0
    • GUI: Text handling
    • Ubuntu 18.04 LTS 64 bit
      g++ 7.5.0
      Qt 5.15.0, release build

      1. Build the attached project.
      2. Pass the attached HTML file to the resulting program:
        ./report input.html
        

        It will take more than a minute to run through the file whereas Firefox opens it instantly.

      Google's oss-fuzz found this as issue 21810.

        1. input.html
          74 kB
          Robert Löhning
        2. main.cpp
          0.2 kB
          Robert Löhning
        3. report.pro
          0.0 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes