D8968: Prevent index out of range in case of empty or malformed filename
Andreas Hartmetz
noreply at phabricator.kde.org
Mon Nov 27 21:24:11 GMT 2017
ahartmetz updated this revision to Diff 23052.
ahartmetz marked an inline comment as done.
ahartmetz added a comment.
Change second index check to >0
REPOSITORY
R165 Akonadi
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D8968?vs=22833&id=23052
BRANCH
arcpatch-D8968
REVISION DETAIL
https://phabricator.kde.org/D8968
AFFECTED FILES
autotests/libs/itemmovetest.cpp
autotests/libs/test_utils.h
autotests/server/akappendhandlertest.cpp
src/agentserver/CMakeLists.txt
src/akonadictl/CMakeLists.txt
src/core/itemfetchscope.cpp
src/private/externalpartstorage.cpp
src/server/handler/akappend.cpp
src/server/storagejanitor.cpp
templates/akonadiresource/akonadiresource.kdevtemplate
templates/akonadiserializer/akonadiserializer.kdevtemplate
To: ahartmetz, #kde_pim, dvratil
Cc: knauss, #kde_pim, dvasin, winterz, vkrause, mlaurent, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20171127/3509c1b9/attachment.html>
More information about the kde-pim
mailing list