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

Crash QSvgTinyDocument::load(const QByteArray &contents)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.6.0
    • SVG Support
    • None
    • macOS, Windows

      When using version 6.6.0 we have a crash when creating an image from a bytearray.
      and precisely

      • within QSvgTinyDocument::load(const QByteArray &contents) .
      • at line 199 QSvgHandler handler(&buffer);

      We had no problem with any previous version of QT.
      Inspecting the code I have seen that the code in the function QSvgTinyDocument::load has completely changed from version 6.5.3 to version 6.6.0.

      Sorry I don't have currently time to investigate further.  For the moment here some printscreen regarding the call stack.

      New function 6.6.0

      Previous implementation 6.5.3

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            domezuk Domenico Zucchetti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes