[PATCH] Fix a crash in KSharedConfigPtr
Alex Merry
huntedhacker at tiscali.co.uk
Thu Aug 30 18:35:36 BST 2007
I'm getting a crash in plasma caused by setting a KSharedConfigPtr to 0.
It causes KSharedConfigPtr::attach(0) to be called, and then tries to
dereference p (which is 0).
This patch should fix it, but I'm not certain it's correct. Can someone
tell me whether it makes sense?
Thanks
Alex
--
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ksharedconfigptr.patch
Type: text/x-diff
Size: 745 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070830/e44c9917/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070830/e44c9917/attachment.sig>
More information about the kde-core-devel
mailing list