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

ImageIO: Check format writers for potential overflow

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Image formats
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      In Qt 6, QImage may be bigger, having a qsizetype (typically 64bit) instead of an 32bit int number of bytes per line. Go through the format handlers' writing functions and make sure that they handle huge images safely. Images that are beyond what the handler or the format itself can handle should just be rejected.

        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:

                Gerrit Reviews

                There are no open Gerrit changes