Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26377

[REG Qt 5.15.2 -> Qt 6.2.0] Crash when opening malformed gif file

    XMLWordPrintable

Details

    • 69fbe0ab906fe877a3aac8863492bf66f4e6073a (qt-creator/tqtc-qt-creator/5.0)

    Description

      Try opening the attached gif file in Qt Creator 6:

      qtrob@rob-desktop:~$ ./qtcreator-6.0.0-beta1o/bin/qtcreator -tcs ~/dev/src/qtqa/fuzzing/testcases/gif/oss-fuzz-22914.gif
      

      Creator will crash:

      qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 128 megabytes
      Segmentation fault (core dumped)
      

      The file was found by oss-fuzz triggering issue 22914 which was fixed in Qt 5.15.1 and higher.

      The same version of Creator built on Qt 5.15.2 instead of Qt 6.2.0 does not crash.

      Attachments

        1. backtrace.txt
          27.30 MB
        2. oss-fuzz-22914.gif
          oss-fuzz-22914.gif
          0.0 kB
        For Gerrit Dashboard: QTCREATORBUG-26377
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes