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

High memory consumption when rendering svg image

    XMLWordPrintable

Details

    • 36cfd9efb9b22b891adee9c48d30202289cfa620 (qt/qtsvg/dev) a3b753c2d077313fc9eb93af547051b956e383fc (qt/qtsvg/5.12) 79bb9f51fa374106a612d17c9d98d35d807be670 (qt/qtsvg/6.2) 6958581c5cfa6ceb75edcd8b64699b2e71af29f7 (qt/tqtc-qtsvg/5.15)

    Description

      1. Build the attached project.
        No sanitizers needed.
      2. Run the resulting program, passing the attached .svg file:
        ./report 37306.svg
        

        The running program will occupy about 2GB of memory. When you set

        ulimit -Sv 1900000
        

        before starting the program, it will crash.

      oss-fuzz found this as issue 37306. They will publish the details on November 16th.

      Attachments

        1. 37306.svg
          285 kB
        2. main.cpp
          0.4 kB
        3. report.pro
          0.0 kB
        For Gerrit Dashboard: QTBUG-96044
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes