D18965: Guard KCompressionDevice::open being called with no backend available
David Edmundson
noreply at phabricator.kde.org
Tue Feb 12 17:34:01 GMT 2019
davidedmundson created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
davidedmundson requested review of this revision.
REVISION SUMMARY
If KArchive is built without support for a compression type, such as
bzip2, d->filter ends up as null.
It is then used in the open call and will crash.
Other calls can still crash, but they shouldn't be being called if open
fails.
BUG: 404240
REPOSITORY
R243 KArchive
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D18965
AFFECTED FILES
src/kcompressiondevice.cpp
To: davidedmundson
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190212/2095f854/attachment.html>
More information about the Kde-frameworks-devel
mailing list