D21518: Fix infinite loop guard in case of duplicate UIDs

Volker Krause noreply at phabricator.kde.org
Sat Jun 1 09:29:43 BST 2019


vkrause created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
vkrause requested review of this revision.

REVISION SUMMARY
  In this case the prenodeByUid hash will not increase its size (thus not
  fulfilling the outer loop condition), but an element is found nevertheless
  (thus not triggering the loop guard). Now both use the same condition.

REPOSITORY
  R76 PIM: Event Views

BRANCH
  master

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

AFFECTED FILES
  src/todo/incidencetreemodel.cpp

To: vkrause
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190601/7eb8f48e/attachment.html>


More information about the kde-pim mailing list