[Nepomuk] Review Request 110877: Resource: Null guards for m_data

Commit Hook null at kde.org
Tue Jun 11 22:03:03 UTC 2013


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


This review has been submitted with commit 9b7abb202407bc42e3f711aa0f51a33ede80a3bc by Simeon Bird to branch master.

- Commit Hook


On June 8, 2013, 3:21 a.m., Simeon Bird wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/110877/
> -----------------------------------------------------------
> 
> (Updated June 8, 2013, 3:21 a.m.)
> 
> 
> Review request for Nepomuk and Vishesh Handa.
> 
> 
> Description
> -------
> 
> Resource: Null guards for m_data
> 
> It is possible, during shutdown, for m_data to be null briefly (see
> ResourceManager::cleanupResources). If a property were accessed
> during this time, we could crash.
> 
> The patch checks whether m_data is null in various functions, and
> returns empty items if so.
> 
> BUG: 320097
> BUG: 319481
> 
> 
> This addresses bugs 319481 and 320097.
>     http://bugs.kde.org/show_bug.cgi?id=319481
>     http://bugs.kde.org/show_bug.cgi?id=320097
> 
> 
> Diffs
> -----
> 
>   libnepomukcore/resource/resource.cpp da352e1d3ab2bd3d61ec6c2d85e59ffde09914d1 
> 
> Diff: http://git.reviewboard.kde.org/r/110877/diff/
> 
> 
> Testing
> -------
> 
> Compiled, ran
> 
> 
> Thanks,
> 
> Simeon Bird
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130611/6d0d39db/attachment.html>


More information about the Nepomuk mailing list