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

Slow and memory intensive handling of input to QDateTime::fromString

    XMLWordPrintable

Details

    • 0c9fc20e7ff7b4ff0f15e0b2c071ea834625dce9 (qt/qtbase/dev) 51812618e7f0486ad029f3c17bfe7baec8800d06 (qt/qtbase/6.1) cc3cb77f62ddbd4667c7ad51e9c5c8718dd53b1b (qt/qtbase/6.0)

    Description

      1. Build the attached project:
        Normal release build, no sanitizers needed.
      2. Run it passing in one of the attached text files
        It will consume a lot of memory (>2GB) and take a while until it returns (ca. 40s). With sanitizers, the program easily runs out of memory.

      Google found these as oss-fuzz issues 32720 and 32722. They will publish the details in 90 days, the latest.

      Attachments

        1. 32720.txt
          63 kB
        2. 32722.txt
          90 kB
        3. details32720.html
          1.79 MB
        4. details32722.html
          1.80 MB
        5. main.cpp
          0.2 kB
        6. report.pro
          0.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Eddy Edward Welbourne
            rlohning Robert Löhning
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews