Avoid crash by not checking free space for smb://
ClosedPublic

Authored by broulik on Aug 29 2018, 11:57 AM.

Details

Summary

This isn't a real location but the overview of all found hosts.
smbc_opendir would succeed but then crash in smbc_fstatvfs

Test Plan

Opening smb:// no longer crashes the KIO

Diff Detail

Repository
R320 KIO Extras
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik requested review of this revision.Aug 29 2018, 11:57 AM
broulik created this revision.
broulik updated this revision to Diff 40638.Aug 29 2018, 12:03 PM

Check host() not path()
Fixes crash when coming from remote:/

dfaure accepted this revision.Aug 30 2018, 8:05 PM
This revision is now accepted and ready to land.Aug 30 2018, 8:05 PM
This revision was automatically updated to reflect the committed changes.