https://bugs.kde.org/show_bug.cgi?id=402170

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/app
                   |                            |er/d486706f3e9f7eefa4d44cd5
                   |                            |ace34eeaf7ba2ceb
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Albert Astals Cid <aa...@kde.org> ---
Git commit d486706f3e9f7eefa4d44cd5ace34eeaf7ba2ceb by Albert Astals Cid, on
behalf of Alexander Kernozhitsky.
Committed on 21/03/2019 at 22:11.
Pushed by aacid into branch 'master'.

Prevent crashing Apper on PackageModel::clearSelectedNotPresent()

Summary:
m_checkedPackages.erase() is called, but the iterator is not increased,
therefore on the next iteration we use an invalid iterator
Related: bug 405433, bug 401461

Test Plan: I just rebuilt Apper, ran it and installed the updates with it. The
bug does not appear.

Reviewers: dantti, apol

Reviewed By: dantti

Differential Revision: https://phabricator.kde.org/D19951

M  +1    -1    libapper/PackageModel.cpp

https://commits.kde.org/apper/d486706f3e9f7eefa4d44cd5ace34eeaf7ba2ceb

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to