Review Request: Do not crash when KXMLGUIFactoryPrivate::saveDefaultActionProperties' parameter contains null QActions

Commit Hook null at kde.org
Wed Aug 24 17:05:32 BST 2011


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


This review has been submitted with commit 35f5e5d814a1f489e9ed52ac9b890826d888b123 by Dawit Alemayehu to branch KDE/4.7.

- Commit


On Aug. 24, 2011, 5:27 a.m., Dawit Alemayehu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102419/
> -----------------------------------------------------------
> 
> (Updated Aug. 24, 2011, 5:27 a.m.)
> 
> 
> Review request for kdelibs and David Faure.
> 
> 
> Summary
> -------
> 
> This patch addresses the crash outlined in bug# 265217. Though a null QAction should not be present in the parameter passed to XMLGUIFactoryPrivate::saveDefaultActionProperties in the first place, the code in that function should be reiliant enough not to crash even such a QAction exists.
> 
> 
> This addresses bug 265217.
>     http://bugs.kde.org/show_bug.cgi?id=265217
> 
> 
> Diffs
> -----
> 
>   kdeui/xmlgui/kxmlguifactory.cpp 4e6989b 
> 
> Diff: http://git.reviewboard.kde.org/r/102419/diff
> 
> 
> Testing
> -------
> 
> Checked to make sure the crash no longer happens with this patch applied.
> 
> 
> Thanks,
> 
> Dawit
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110824/379ae1cb/attachment.htm>


More information about the kde-core-devel mailing list