[Merge] lp:~aacid/qtubuntu/make_sure_mimedata_is_good into lp:qtubuntu

Albert Astals Cid albert.astals at canonical.com
Wed Mar 1 16:46:10 UTC 2017


The proposal to merge lp:~aacid/qtubuntu/make_sure_mimedata_is_good into lp:qtubuntu has been updated.

Commit Message changed to:

Make sure mMimeData doesn't point to already deleted memory

QMirClientClipboard::mimeData(QClipboard::Mode mode) calls updateMimeData() and then returns mMimeData

Given that updateMimeData() can end up deleting the data in mMimeData but not always resetting the pointer we may end up returning a pointer that points to garbage

For more details, see:
https://code.launchpad.net/~aacid/qtubuntu/make_sure_mimedata_is_good/+merge/318641
-- 
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~aacid/qtubuntu/make_sure_mimedata_is_good into lp:qtubuntu.



More information about the Ubuntu-reviews mailing list