Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QSR 2.1
-
None
-
e8c59a037 (dev), ca2efcc40 (tqtc/lts-6.5), bd3e96101 (tqtc/lts-6.5.5)
Description
file: qsaferenderer.cpp
method: QSafeRenderer::setAndValidateFrameBuffer()
It seems to me that m_window->framebuffer() can return NULL;
Therefore accessing the returned value without checking if it's NULL could cause null pointer dereference.
Attachments
For Gerrit Dashboard: QSR-2333 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
548652,5 | Fix QSR-2333: possible null pointer dereference | dev | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |
549115,2 | Fix QSR-2333: possible null pointer dereference | tqtc/lts-6.5 | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |
549265,2 | Fix QSR-2333: possible null pointer dereference | tqtc/lts-6.5.5 | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |