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

QIODevice::readAll() Truncates Data To Max Int

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.3.0 Beta3, 6.4.0 Beta1
    • 6.2.2
    • Core: I/O
    • None
    • All
    • All
    • 8f1a827d91 (qt/qtbase/dev) 8f1a827d91 (qt/tqtc-qtbase/dev) 2f8e38ce67 (qt/qtbase/6.3) 2f8e38ce67 (qt/tqtc-qtbase/6.3)

    Description

      Qt 6 QByteArray should support int64 buffers.

      QIODevice::readAll() (qiodevice.cpp line 1289) resizes the result to int(readBytes), which truncates files larger than max int.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            spet Sam Thomsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews