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

ImageIO: Introduce settable size limit on image loading

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Image formats
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      If an app loads untrusted images without checking their size first, it can easily run into memory/cpu overload because of image files having, or claiming to have, huge sizes. Introduce a settable limit with a sensible default to QImageReader, and make all the format handlers adhere to it.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team
            Reporter:
            vgt Eirik Aavitsland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes