Review Request 129767: Fix segfault when analyzing source code issue

Francis Herne mail at flherne.uk
Wed Jan 4 12:15:54 UTC 2017


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


Ship it!




Ship It!

- Francis Herne


On Jan. 4, 2017, 6:42 a.m., Leslie Zhai wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129767/
> -----------------------------------------------------------
> 
> (Updated Jan. 4, 2017, 6:42 a.m.)
> 
> 
> Review request for KDevelop and Kevin Funk.
> 
> 
> Bugs: 374525
>     http://bugs.kde.org/show_bug.cgi?id=374525
> 
> 
> Repository: kdevelop
> 
> 
> Description
> -------
> 
> Hi KDevelop developers,
> 
> ```
> Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault.
> 0x00007fffbbde43de in cppcheck::Parameters::Parameters (this=0x7fffffffa870, project=0x192f730)
>     at /data/project/kde/kdevelop/analyzers/cppcheck/parameters.cpp:110
> 110         m_projectBuildPath   = m_project->buildSystemManager()->buildDirectory(m_project->projectItem());
> ```
> 
> so I simply added ```if (m_project->buildSystemManager())``` check before calling ```m_project->buildSystemManager()->buildDirectory(...)```
> 
> Regards,
> Leslie Zhai
> 
> 
> Diffs
> -----
> 
>   analyzers/cppcheck/parameters.cpp ad1e7a02c3 
> 
> Diff: https://git.reviewboard.kde.org/r/129767/diff/
> 
> 
> Testing
> -------
> 
> Parsing K3B's souce code
> 
> 
> Thanks,
> 
> Leslie Zhai
> 
>

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


More information about the KDevelop-devel mailing list