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

QXmlStreamReader freezes

    XMLWordPrintable

Details

    • Bug
    • Status: Reported
    • P1: Critical
    • Resolution: Unresolved
    • 5.15.2, 6.0.2, 6.3.0
    • None
    • Ubuntu 20.04 LTS
      clang 10.0.0, g++ 9.3.0

    Description

      1. Build the attached project.
        Normal release build, no sanitizers needed.
      2. Run it on the attached input file:
        ./report input.xml
        

        It won't finish. It's running here for ten minutes of CPU time now, with constant low memory consumption:

            PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND  
          38446 qtrob     20   0   75260  34172   7068 R 100.0   0.2  10:04.04 report
        

      Google's oss-fuzz found this as issue 30973. It will be published on May 17th, the latest.

      Attachments

        1. input.xml
          387 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

            thiago Thiago Macieira
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes