D16744: Fix crash if XDG_CACHE_HOME directory is too small or out of space
Alexey Min
noreply at phabricator.kde.org
Wed Nov 7 21:12:07 GMT 2018
alexeymin created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
alexeymin requested review of this revision.
REVISION SUMMARY
Incorrect checking for error return code of posix_fallocate() causes function to think that all is OK while it is not causing crash in some cases.
The fix for 4-year bug is a simple one-liner...
BUG: 400610
CCBUG: 339829
TEST PLAN
good test plan provided in https://bugs.kde.org/show_bug.cgi?id=400610 . Works like a charm, tested in KDE Neon dev-ustable
REPOSITORY
R244 KCoreAddons
BRANCH
bug400610
REVISION DETAIL
https://phabricator.kde.org/D16744
AFFECTED FILES
src/lib/caching/kshareddatacache_p.h
To: alexeymin
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181107/4f1b8d26/attachment.html>
More information about the Kde-frameworks-devel
mailing list