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

Massive memory consumption when rendering small svg

XMLWordPrintable

    • 6b400e3147dcfd8cc3a393ace1bd118c93762e0c (qt/qtbase/dev) 1ca02cf2879a5e1511a2f2109f0925cf4c892862 (qt/qtbase/6.1) c1ad72ff588275b7b67683bf43cab33e4e0de4ea (qt/tqtc-qtbase/5.15) 202143ba41f6ac574f1858214ed8bf4a38b73ccd (qt/qtbase/6.2)

      1. Build the attached project.
        No sanitizers needed.
      2. Run the resulting binary, passing in the attached input file:
        ./report 36161.svg
        

        The process will consume loads of memory. Here it's more than 8GiB.

      Google's oss-fuzz found this as issue 36161. They will publish the details 87 days from now.

        1. 35566.svg
          0.4 kB
        2. 35913.svg
          0.1 kB
        3. 36161.svg
          0.1 kB
        4. main.cpp
          0.4 kB
        5. report.pro
          0.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved: