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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.0.0, 6.4.2, 6.6
    • GUI: Text handling
    • Ubuntu 20.04 LTS
      g++ 9.4.0
      clang 10.0.0

      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.

        1. 29381.md
          128 kB
          Robert Löhning
        2. CMakeLists.txt
          0.3 kB
          Robert Löhning
        3. main.cpp
          0.2 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