[Merge] lp:~3v1n0/compiz/static-compregion-memory-curruption-fix into lp:compiz
Marco Trevisan (Treviño)
mail at 3v1n0.net
Tue Feb 20 17:27:25 UTC 2018
Marco Trevisan (Treviño) has proposed merging lp:~3v1n0/compiz/static-compregion-memory-curruption-fix into lp:compiz.
Commit message:
Region: nullify the priv XRegion after destroying it
Otherwise we might get a double-free since there are instances
of CompRegion wich are static and externally available
(infiniteRegion and emptyRegion) and they seem to be destroyed
in some cases when the resources are released on destruction.
All this is causing a memory corruption on exit (like LP: #1749957).
Requested reviews:
Compiz Maintainers (compiz-team)
Related bugs:
Bug #1750619 in compiz (Ubuntu): "Static CompRegion destruction causes memory corruption at compiz exit"
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1750619
For more details, see:
https://code.launchpad.net/~3v1n0/compiz/static-compregion-memory-curruption-fix/+merge/338342
--
Your team Compiz Maintainers is requested to review the proposed merge of lp:~3v1n0/compiz/static-compregion-memory-curruption-fix into lp:compiz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 21891 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20180220/d29acc90/attachment-0001.diff>
More information about the Ubuntu-reviews
mailing list