[Kde-pim] Review Request 125747: Check calendar pointer before access it in writeFile() in kalarm resource

Daniel Vrátil dvratil at kde.org
Thu Oct 29 11:06:48 GMT 2015


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

Ship it!


Ship it, not crashing is important :)

- Daniel Vrátil


On Oct. 22, 2015, 12:47 a.m., Xuetian Weng wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125747/
> -----------------------------------------------------------
> 
> (Updated Oct. 22, 2015, 12:47 a.m.)
> 
> 
> Review request for KDEPIM, Laurent Montel and Sergio Martins.
> 
> 
> Repository: kdepim-runtime
> 
> 
> Description
> -------
> 
> As a side-effect caused by 1612e91eb5540fc25e4fa4a7bfe28d3512439318, now kalarm resource would crash when stop or being created. 
> 
> Not quite sure if this is the correct fix, but ICalResourceBase seems did a lot of check on mCalendar, so I guess check calendar() in kalarma also makes sense?
> 
> 
> Diffs
> -----
> 
>   resources/kalarm/kalarm/kalarmresource.cpp f0d9a27 
> 
> Diff: https://git.reviewboard.kde.org/r/125747/diff/
> 
> 
> Testing
> -------
> 
> No crash on kalarm resource in the same situation.
> 
> 
> Thanks,
> 
> Xuetian Weng
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list