Review Request 129600: segfault when ExpressionVisitor's lastType is nullptr

Leslie Zhai xiangzhai83 at gmail.com
Mon Dec 5 01:42:21 UTC 2016


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

(Updated 十二月 5, 2016, 9:42 a.m.)


Status
------

This change has been discarded.


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/20161205/880aa25f/attachment.html>


More information about the KDevelop-devel mailing list