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

            Bug ID: 412482
           Summary: Patch to fix crashes involving piece holders
           Product: palapeli
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: majew...@gmx.net
          Reporter: bernds_...@t-online.de
                CC: kde-games-b...@kde.org
  Target Milestone: ---

Created attachment 122949
  --> https://bugs.kde.org/attachment.cgi?id=122949&action=edit
A patch to fix the problem

Palapeli sometimes crashes when using piece holders. What seems to happen is
that two pieces in different scenes/views are merged, and the code trying to
update the piece list for one of these scenes fails to remove the piece because
it's not on the list. The piece then gets deleted (through a deleteLater call),
but it's still in the list for another scene, and we get a use-after-free
scenario.

I'm attaching a patch which seems to fix it - I've been unable to reproduce
crashes after this.

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

Reply via email to