D22271: Fix int overflow when parsing ImapSet

Daniel Vrátil noreply at phabricator.kde.org
Thu Jul 4 14:54:26 BST 2019


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

REVISION SUMMARY
  The ImapSet is a vector of qint64s, but while iteraring over
  the vector the code store the value as an int, which could've
  caused overflow if the Id was large enough, triggering the
  Q_ASSERT below.
  
  BUG: 409419
  FIXED-IN: 5.11.3

REPOSITORY
  R177 PIM: KIMAP

BRANCH
  Applications/19.04

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

AFFECTED FILES
  src/imapset.cpp

To: dvratil, #kde_pim
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/20190704/777ca674/attachment.html>


More information about the kde-pim mailing list