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

Crash when rendering radialGradient

XMLWordPrintable

    • 42bd879e2 (dev), e63884c59 (6.9), e25f93c15 (6.8), 27c3e8b94 (dev)

      Simply open the attached svg file:

      <svg><radialGradient id="grd2" cx="340266920938463463374607431767777777777"></radialGradient><text stroke="url(#grd2)">N</text><text x="302"></text></svg>
      

      You can use it to construct a QSvgRenderer and then call render(QPainter *) on that or you can just try opening it in Qt Creator. Both will lead to a crash.

      Google's oss-fuzz found this as issue 42533347. Their report is public.

        1. 42533347.svg
          0.2 kB
          Robert Löhning
        2. Backtrace1.txt
          121 kB
          Robert Löhning
        3. QTBUG-130992.svg
          0.1 kB
          Robert Löhning
        For Gerrit Dashboard: QTBUG-130992
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes