Review Request 118750: Prevent use after free

Fabian Kosmale 0inkane at googlemail.com
Thu Jun 19 21:11:11 BST 2014


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

(Updated June 19, 2014, 8:11 p.m.)


Status
------

This change has been marked as submitted.


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 67beb80 

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/20140619/8c799553/attachment.htm>


More information about the kde-core-devel mailing list