Review Request 129600: segfault when ExpressionVisitor's lastType is nullptr
Leslie Zhai
xiangzhai83 at gmail.com
Fri Dec 2 05:24:27 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129600/
-----------------------------------------------------------
Review request for KDevelop and Kevin Funk.
Repository: kdev-ruby
Description
-------
When using kdevelop import redmine (a bug tracker written in ruby http://www.redmine.org/) segfault when ExpressionVisitor's lastType is nullptr, so I simply added the check
```
if (ev.lastType() != nullptr)
```
Diffs
-----
duchain/builders/declarationbuilder.cpp 841fc2e
Diff: https://git.reviewboard.kde.org/r/129600/diff/
Testing
-------
import redmine
Thanks,
Leslie Zhai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161202/9135ee5f/attachment.html>
More information about the KDevelop-devel
mailing list