D20260: Fix crash in KArchive::findOrCreate with broken files
Albert Astals Cid
noreply at phabricator.kde.org
Fri Apr 5 11:05:13 BST 2019
aacid created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
aacid requested review of this revision.
REVISION SUMMARY
In some occassions KArchive::findOrCreate calls itself to find the parent KArchiveDirectory
Since KArchive::findOrCreate can return null we have to take into account parent can be null.
TEST PLAN
Crashy .zip doesn't crash anymore
REPOSITORY
R243 KArchive
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D20260
AFFECTED FILES
src/karchive.cpp
To: aacid
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190405/08b472a3/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list