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

Crash reading legal TIFF file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.14.1
    • Fix Version/s: 5.14.2
    • Component/s: Image formats
    • Labels:
      None
    • Environment:
      Windows x64 debug
    • Platform/s:
      Windows

      Description

      Load the attached image file into QImageReader with read function.

      Crash.

       HEAP CORRUPTION DETECTED: after Normal block (#432746129) at 0x000002173F502B80.
      CRT detected that the application wrote to memory after end of heap buffer.

       

      My code

                          QImageReader reader(fileName);
                          QSize imageSize = reader.size();
                          imageSize.scale(size, size, Qt::KeepAspectRatio);
                          reader.setScaledSize(imageSize);
                          reader.setAutoTransform(true);
                          result = reader.read();
      

       

      The imageviewer example also crashes.

       C:\Qt\Examples\Qt-5.14.1\widgets\widgets\imageviewer

       

       

      I can't attach the file because I am getting an error:

      "Jira could not attach the file as there was a missing token. Please try attaching the file again."

       

      Link to file here:

      https://www.dropbox.com/s/ibc1t55qcbpmjck/input_truecolor_32.tiff

       

        Attachments

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

          Activity

            People

            Assignee:
            vgt Eirik Aavitsland
            Reporter:
            doug_rogers Doug Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes