[Kde-games-devel] Review Request: Attempt to fix null pointer issue in Game::map.

Albert Astals Cid aacid at kde.org
Tue Aug 7 21:42:44 UTC 2012


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


Do you have a sequence of actions that show the need for this if protection? i.e. what do i have to do so that the game crashes without this patch? Or is it all purely theorical?

- Albert Astals Cid


On Aug. 6, 2012, 7:05 p.m., Michael Reeves wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/7013/
> -----------------------------------------------------------
> 
> (Updated Aug. 6, 2012, 7:05 p.m.)
> 
> 
> Review request for KDE Games.
> 
> 
> Description
> -------
> 
> Attempt to fix crash due to null Map pointer. Prevents calling GameView::startNewGame or GameView::gameOver before GameView is fully ready the cause of my variant.
> 
> 
> This addresses bug 296290.
>     https://bugs.kde.org/show_bug.cgi?id=296290
> 
> 
> Diffs
> -----
> 
>   /branches/KDE/4.8/kdegames/konquest/gameview.h 1308596 
>   /branches/KDE/4.8/kdegames/konquest/gameview.cc 1308596 
> 
> Diff: http://svn.reviewboard.kde.org/r/7013/diff/
> 
> 
> Testing
> -------
> 
> It fixes a related variant I was able to produce on my machine. I am unable to reproduce the bug as reported. Attempted to work around issue based on the stack traces alone.
> 
> 
> Thanks,
> 
> Michael Reeves
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20120807/484f7421/attachment-0001.html>


More information about the kde-games-devel mailing list