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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/game |https://invent.kde.org/game
                   |s/knights/-/commit/3572b3f4 |s/knights/-/commit/68447942
                   |e79b57b5a56248100cc8652c219 |a52c8cc8a732a1cc71c5bf7f0cb
                   |bac06                       |85d5d

--- Comment #6 from Albert Astals Cid <aa...@kde.org> ---
Git commit 68447942a52c8cc8a732a1cc71c5bf7f0cb85d5d by Albert Astals Cid, on
behalf of Dawid Trendota.
Committed on 18/02/2024 at 23:35.
Pushed by aacid into branch 'release/24.02'.

Fix crash while playing against CPU

Crash was caused by dereference of invalidates QList iterator. Fixed by
using removeIf instead of remove values in iterator based
loop.

Closes #449639

(cherry picked from commit 3572b3f4e79b57b5a56248100cc8652c219bac06)

M  +4    -3    src/rules/chessrules.cpp

https://invent.kde.org/games/knights/-/commit/68447942a52c8cc8a732a1cc71c5bf7f0cb85d5d

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

Reply via email to