Review Request 125756: Initialize QFunctionPointer to Q_NULLPTR

Dāvis Mosāns davispuh at gmail.com
Thu Oct 22 13:27:36 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125756/
-----------------------------------------------------------

(Updated Oct. 22, 2015, 1:27 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and Plasma.


Changes
-------

Submitted with commit 39f8db95c2dd227cf46eccb22b5b3860224894a6 by D?vis Mos?ns to branch master.


Repository: plasma-framework


Description
-------

Need to initialize QFunctionPointer to Q_NULLPTR because otherwise it's used unitialized
causing m_eglCreateImageKHR check to pass and crashing plasmashell because of invalid call.
Look at xcbWindowToTextureEGL function in src/declarativeimports/core/windowthumbnail.cpp


Diffs
-----

  src/declarativeimports/core/windowthumbnail.cpp 5a5274e1eacdb9b91ff500e1ebf9046930891ecf 

Diff: https://git.reviewboard.kde.org/r/125756/diff/


Testing
-------

Verified that plasmashell doesn't crash anymore.


Thanks,

Dāvis Mosāns

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151022/8f7bc24f/attachment.html>


More information about the Kde-frameworks-devel mailing list