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

QImageReader not reporting corrupt JPEG images correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 5.12.5
    • Fix Version/s: None
    • Component/s: Image formats
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      QImageReader does not report an error if the file is correct.

      In my test, I truncate a JPEG file and get QImageReader to read it. There is a warning in debug, but the error status remains OK and  QImage with dimensions is returned.

      I don't seem to be able to attach a zip of my test code (Jira could not attach the file as there was a missing token. Please try attaching the file again).

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              vgt Eirik Aavitsland
              Reporter:
              nethers David Netherwood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes