Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.3, 5.8.0, 5.9.3
-
None
-
Host: Ubuntu 16.04 x64 on Intel i3
target: Cortex-A8 Ti AM3358 with LinuxFB/DRM
GCC: arm-linux-gnueabihf-gcc, ver 6.2.1
-
1771b8d7c6fd052e6a16b109cc841e69fe180e2d
Description
if set the QT_QPA_FB_HIDECURSOR=1, a NULL point will occur in qtbase/src/gui/kernel/qplatformcursor.cpp:
void QPlatformCursorImage::set(Qt::CursorShape id)
{
.........
//will be NULL point as below if QT_QPA_FB_HIDECURSOR=1
cursorImage = cursor->cursorImage;
hot = cursor->hot;
}
Attachments
For Gerrit Dashboard: QTBUG-64844 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
235488,3 | QFbCursor: Avoid nullptr access when QT_QPA_FB_HIDECURSOR is 0 | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |