D28535: [KIO-MTP] Fix null pointer dereference
Anthony Fieroni
noreply at phabricator.kde.org
Fri Apr 3 12:28:51 BST 2020
anthonyfieroni added a comment.
You're right about bug report, but it can fail in any other place, just in particular version it happen in `updateStorageInfo` Can we cache `getDevice` in m_device (in constructor) then use it everywhere. I think libmtp has guard against disconnected device and will not crash.
REPOSITORY
R320 KIO Extras
REVISION DETAIL
https://phabricator.kde.org/D28535
To: feverfew, akrutzler, dfaure, elvisangelaccio
Cc: anthonyfieroni, kde-frameworks-devel, fvogt, kfm-devel, ngraham, nikolaik, pberestov, iasensio, fprice, LeGast00n, cblack, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200403/3e932eb7/attachment.htm>
More information about the kfm-devel
mailing list