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