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

Andreas Hartmetz noreply at phabricator.kde.org
Thu Nov 23 17:20:06 GMT 2017


ahartmetz added inline comments.

INLINE COMMENTS

> knauss wrote in externalpartstorage.cpp:98
> > 0 is enough here.

Replace the whole line with QLatin1Char('0') ? Are you sure? That seems dubious but then I don't know what exactly this code is supposed to do.

REPOSITORY
  R165 Akonadi

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

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/20171123/068c68e5/attachment.html>


More information about the kde-pim mailing list