Review Request 118750: Prevent use after free

Fabian Kosmale 0inkane at
Sun Jun 15 09:18:06 BST 2014

This is an automatically generated e-mail. To reply, visit:

(Updated June 15, 2014, 8:18 a.m.)

Review request for kde-workspace and Andriy Rysin.


Use Thomas' suggestion – nicer way to fix the issue.

Repository: kde-workspace


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 (updated)

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



Only recompiled the application so far.


Fabian Kosmale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list