Review Request: possible null pointer crash

David Nolden zwabel+reviewboard at gmail.com
Thu Mar 5 12:57:31 UTC 2009


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

Ship it!


>From looking at the code, this condition seems always to be true. But for the case it's ever not, it wouldn't hurt having a warning instead of crashing.

- David


On 2009-03-05 03:08:07, Frederik Schwarzer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/234/
> -----------------------------------------------------------
> 
> (Updated 2009-03-05 03:08:07)
> 
> 
> Review request for KDevelop.
> 
> 
> Summary
> -------
> 
> I found a pointer which gets its value either in an if() or an else if() block.
> Honestly, I do not really know how the code around there works but Andreas ordered me to post something here, so I did. ;)
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdevelop/languages/cpp/codegen/simplerefactoring.cpp 935489 
> 
> Diff: http://reviewboard.kde.org/r/234/diff
> 
> 
> Testing
> -------
> 
> Compiled and ran the new class action.
> 
> 
> Thanks,
> 
> Frederik
> 
>





More information about the KDevelop-devel mailing list