[Digikam-devel] [Bug 184473] Reproducable Crash in Albumview

Ian Hubbertz kde_bugs at hubbertz.de
Mon Feb 16 22:51:07 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=184473





--- Comment #7 from   2009-02-16 23:51:05 ---
Created an attachment (id=31381)
 --> (http://bugs.kde.org/attachment.cgi?id=31381)
Patch

This patch seems to work fine for me.

It just copies first to the stack (local var item) and then checks "item" to be
valid.

This only fixes the NULL-pointer access, but not the fact that the method is
called twice. I haven't had a deep look into the code, so I'm unsure if this is
wished behavior or a problem.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list