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

ImageIO: Check format writers for potential overflow

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Image formats
    • None

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes