Review Request 113866: kio bookmarks: Only iterate over element nodes in findToolbar()

Stefan Brüns stefan.bruens at rwth-aachen.de
Sat Jan 11 16:34:09 GMT 2014


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

(Updated Jan. 11, 2014, 4:34 p.m.)


Status
------

This change has been marked as submitted.


Review request for kdelibs and Frank Reininghaus.


Bugs: 320006
    http://bugs.kde.org/show_bug.cgi?id=320006


Repository: kdelibs


Description
-------

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


Diffs
-----

  kio/bookmarks/kbookmark.cc 8459a02 

Diff: https://git.reviewboard.kde.org/r/113866/diff/


Testing
-------

None


Thanks,

Stefan Brüns

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140111/1f638134/attachment.htm>


More information about the kde-core-devel mailing list