[Github-comments] [geany] Avoid possible invalid memory access when activating plugin (#732)

Jiří Techet notifications at xxxxx
Wed Nov 4 12:00:53 UTC 2015


I got this crash when activating the spellcheck plugin which poped up some error message dialog this dialog somehow caused that the tooltip callback got executed reading the invalid plugin pointer.

The patch isn't completely ideal because it causes the plugin row disappears while the error dialog is shown (is displayed again when the dialog is dismissed). However I don't see any other simple solution - it's not possible to call plugin_new() while keeping the old pointer as plugin_new() prevents that the same plugin is created twice.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/732#issuecomment-153700080
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151104/c941d268/attachment.html>


More information about the Github-comments mailing list