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

QXmlStreamReader slow on certain input

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.1, 5.15.0
    • 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 .xml file to the resulting program:
        ./report input.xml
        

        It will take more than 4 seconds to run through the file which is significantly longer than other, even much larger files take.

      Google's oss-fuzz found this as issue 21099 issue 23892.

      Attachments

        1. input.xml
          584 kB
          Robert Löhning
        2. main.cpp
          0.3 kB
          Robert Löhning
        3. new.xml
          228 kB
          Robert Löhning
        4. report.pro
          0.1 kB
          Robert Löhning

        Activity

          People

            laknoll Lars Knoll
            rlohning Robert Löhning
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: