[KUser] Check whether .face.icon is actually readable before returning it
ClosedPublic

Authored by broulik on Jan 17 2018, 5:42 PM.

Details

Summary

Here .face.icon is a symlink to .face and when I remove my avatar in user manager, the .face is removed and .face.icon becomes a stale symlink.

Test Plan

Where is the bug? :)

Diff Detail

Repository
R244 KCoreAddons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Jan 17 2018, 5:42 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 17 2018, 5:42 PM
broulik requested review of this revision.Jan 17 2018, 5:42 PM
apol accepted this revision.Jan 18 2018, 3:29 AM
This revision is now accepted and ready to land.Jan 18 2018, 3:29 AM
This revision was automatically updated to reflect the committed changes.