Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: Qt 3D Studio 2.3 BETA3
-
Fix Version/s: Qt 3D Studio 2.3 RC1
-
Component/s: Runtime 2.x
-
Labels:
-
Platform/s:
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.