Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3186

out-of-bounds read check should be added to KTX texture reading

    XMLWordPrintable

Details

    • All

    Description

      The code at [https://code.qt.io/cgit/qt3dstudio/qt3d-
      runtime.git/tree/src/runtime/q3dsimageloaders_p.h#n946|https://code.qt.io/cgit/qt3dstudio/qt3d-
      runtime.git/tree/src/runtime/q3dsimageloaders_p.h#n946] increments pointers and
      reads data without proper checks to ensure the data is still within bounds.

      The KTX handler in qtbase appears to do a better job of this:
      https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/util/qktxhandler.cpp#n143

      The version in qt3dstudio should be fixed.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            karimpinter Karim Pinter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes