D8968: Prevent index out of range in case of empty or malformed filename

Andreas Hartmetz noreply at phabricator.kde.org
Thu Nov 23 14:56:11 GMT 2017


ahartmetz added a comment.


  Maybe it is better to return an empty string in this case but I don't know. Otherwise I migh thave pushed this directly. In the case of my missing file, the returned string cas the hame of the folder <file_db_data>/00/, which generates a an error message that the file it tried to open is actually a folder...

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D8968

To: ahartmetz
Cc: #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20171123/4e2376f2/attachment.html>


More information about the kde-pim mailing list