Git commit 9437d7700cff0331ccdcfff2875faa4a8b98cd82 by Albert Astals Cid, on behalf of Stefan Brüns.
Committed on 11/01/2014 at 16:32.
Pushed by aacid into branch 'KDE/4.12'.
kio bookmarks: Only iterate over element nodes in findToolbar()
Only iterate over element nodes, and filter on <folder> tag.
findFirstChild/nextSibling might return a node which is not an QDomElement. toElement will return NULL and accessing it will crash.
Git commit 9437d7700cff033 1ccdcfff2875faa 4a8b98cd82 by Albert Astals Cid, on behalf of Stefan Brüns.
Committed on 11/01/2014 at 16:32.
Pushed by aacid into branch 'KDE/4.12'.
kio bookmarks: Only iterate over element nodes in findToolbar()
Only iterate over element nodes, and filter on <folder> tag.
findFirstChild/ nextSibling might return a node which is not an QDomElement. toElement will return NULL and accessing it will crash.
Possible fix for 320006
Acked by dfaure
REVIEW: 113866
M +5 -14 kio/bookmarks/ kbookmark. cc
http:// commits. kde.org/ kdelibs/ 9437d7700cff033 1ccdcfff2875faa 4a8b98cd82