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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/1d668a9fe
                   |                            |65c5bc178487fc32e6662ff8151
                   |                            |47f6

--- Comment #4 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 1d668a9fe65c5bc178487fc32e6662ff815147f6 by David Edmundson.
Committed on 15/02/2022 at 12:27.
Pushed by davidedmundson into branch 'master'.

Fix potential crash in pastejob

Mimedata is owned by the QPA. It will be deleted when a new clipboard
arrives.

PasteJob stores a pointer to the mimedata used. It has an async step
`QTimer::singleShot(0, this, SLOT(slotStart()));` mimeData can be
deleted in the meantime.

This patch adds a guard for that.

M  +5    -0    src/widgets/pastejob.cpp
M  +1    -1    src/widgets/pastejob_p.h

https://invent.kde.org/frameworks/kio/commit/1d668a9fe65c5bc178487fc32e6662ff815147f6

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

Reply via email to