Review Request 111135: Handle return cmake statement

Sergey Vidyuk sir.vestnik at gmail.com
Wed Jun 19 17:46:54 UTC 2013


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

Review request for KDevelop.


Description
-------

Handle return statement when walking throuth a function or macro. Recursive cmake macro using return to stop recursion leads to segfault due to stackoverflow in Kdevelop without proper support of this keyword.

Fixes crash from the bug https://bugs.kde.org/show_bug.cgi?id=320875


Diffs
-----

  projectmanagers/cmake/parser/cmakeprojectvisitor.h cc314fd 
  projectmanagers/cmake/parser/cmakeprojectvisitor.cpp 5299b7c 

Diff: http://git.reviewboard.kde.org/r/111135/diff/


Testing
-------

Manually tested


Thanks,

Sergey Vidyuk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130619/d6975a5d/attachment.html>


More information about the KDevelop-devel mailing list