Review Request 118750: Prevent use after free

Fabian Kosmale 0inkane at googlemail.com
Sat Jun 14 23:09:50 BST 2014


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

Review request for kde-workspace and Andriy Rysin.


Repository: kde-workspace


Description
-------

Prior to this patch, the memory str was pointing to was freed once the ; was reached. By storing the result of opton.toAscii(), the memory is "kept alive".


Diffs
-----

  plasma-desktop/kcms/keyboard/preview/keysymhelper.cpp 67beb80db594f8a26dcfd3ad172604888080d205 

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


Testing
-------

Only recompiled the application so far.


Thanks,

Fabian Kosmale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140614/a792e9fb/attachment.htm>


More information about the kde-core-devel mailing list