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

[REG 5.15.2 -> 6.0.0] QTextDocument::setMarkdown very slow on some input

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.2
    • 6.0.0, 6.4.2, 6.6
    • GUI: Text handling
    • Ubuntu 20.04 LTS
      g++ 9.4.0
      clang 10.0.0
    • 9f0b4e18cd6929eb161e9526b496f9bb8a6e1c78 4968b0fb230716701149e6820c09fa25a48c5a3e

    Description

      1. Build the attached project.
        No sanitizers needed.
      2. Run the resulting program passing in one of the attached input files, e.g.:
        ./report 29381.md
        

      It takes nearly two minutes until the program returns. If the file is broken, could QTextDocument notice that and exit earlier?

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

      Attachments

        1. 29381.md
          128 kB
        2. CMakeLists.txt
          0.3 kB
        3. main.cpp
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes