Review Request 125756: Initialize QFunctionPointer to nullptr

Dāvis Mosāns davispuh at gmail.com
Thu Oct 22 12:00:56 UTC 2015


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

Review request for KDE Frameworks and Plasma.


Repository: plasma-framework


Description
-------

Need to initialize QFunctionPointer to 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.h 576b053229a8cfc15b6fadd8d4e6ff07f937565d 

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/11afa3bc/attachment.html>


More information about the Kde-frameworks-devel mailing list