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

QTextDocument::setMarkdown slow on certain input

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.14.1, 5.15.0
    • GUI: Text handling
    • Ubuntu 18.04 LTS 64 bit
      g++ 7.5.0
      Qt 5.15.0, release build

    Description

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

        It will take more than 3 seconds to run through the file which is significantly longer than other files of similar size take.

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

      Attachments

        1. input.md
          52 kB
        2. main.cpp
          0.2 kB
        3. report.pro
          0.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes