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

Massive memory consumption when loading TIFF image

    XMLWordPrintable

Details

    • 4f83c3ebfd (qt/qtimageformats/dev) 4f83c3ebfd (qt/tqtc-qtimageformats/dev) 354a3e66ea (qt/qtimageformats/6.4) 354a3e66ea (qt/tqtc-qtimageformats/6.4) 247b864596 (qt/tqtc-qtimageformats/6.2) ebd31cce42 (qt/tqtc-qtimageformats/5.15)

    Description

      1. Have a build of Qt including qtimageformats.
        I used a release build of Qt 6.4.0 without sanitizers.
      2. Use this to build the attached project, e.g.:
        qt-cmake /tmp/report/ && cmake --build .
        
      3. Run the resulting binary passing the attached input file as parameter, e.g.:
        ./report /tmp/report/49080.tiff
        

        You will see many, many warnings and the memory consumption will grow until the entire system stutters.

      Google's oss-fuzz found this as issue 49080. They will publish the details on October 11th.

      Attachments

        1. 49080.tiff
          3 kB
        2. CMakeLists.txt
          0.3 kB
        3. main.cpp
          0.2 kB
        4. report.html
          1.92 MB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vgt Eirik Aavitsland
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes