D25414: xattr: fix crash on dangling symlinks
Ismael Asensio
noreply at phabricator.kde.org
Tue Nov 19 22:02:24 GMT 2019
iasensio updated this revision to Diff 70029.
iasensio marked 2 inline comments as done.
iasensio added a comment.
- Protect from size < 0
- Add test case for dangling symlink
REPOSITORY
R286 KFileMetaData
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D25414?vs=70019&id=70029
BRANCH
fix_symlink
REVISION DETAIL
https://phabricator.kde.org/D25414
AFFECTED FILES
autotests/samplefiles/dangling_symlink
autotests/usermetadatawritertest.cpp
autotests/usermetadatawritertest.h
src/xattr_p.h
To: iasensio, astippich, bruns
Cc: bruns, kde-frameworks-devel, #baloo, hurikhan77, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191119/a394dc98/attachment.html>
More information about the Kde-frameworks-devel
mailing list