Sanity-check collection path before performing recursive deletion
ClosedPublic

Authored by vkrause on Nov 16 2019, 9:44 PM.

Details

Summary

There is a error paths in directoryForCollection() which might give us
an empty string here, which is then interpreted as the current working
directory.

CCBUG: 414178

Diff Detail

Repository
R44 KDE PIM Runtime
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vkrause created this revision.Nov 16 2019, 9:44 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptNov 16 2019, 9:44 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
vkrause requested review of this revision.Nov 16 2019, 9:44 PM
mlaurent accepted this revision.Nov 17 2019, 9:18 AM
This revision is now accepted and ready to land.Nov 17 2019, 9:18 AM
This revision was automatically updated to reflect the committed changes.