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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n...@kde.org
            Summary|plasmashell crash           |plasmashell crashes in
                   |                            |SystemClipboard::checkClipD
                   |                            |ata with possible nullptr
                   |                            |on data or data->formats()
          Component|generic-crash               |Clipboard

--- Comment #3 from Nate Graham <n...@kde.org> ---
Crashing here:


> if (!data) {
>     Q_EMIT receivedEmptyClipboard(mode);
>     return;
> } else if (data->formats().isEmpty()) {
>     // Might be a timeout. Try again
>     roundtrip();
>     data = m_clip->mimeData(mode);
>     if (data->formats().isEmpty()) {                                 
> <<<<<<<<<<<<<< Here
>         qCDebug(KLIPPER_LOG) << "was empty. Retried, now still empty";
>         Q_EMIT receivedEmptyClipboard(mode);
>         return;
>     }
> }

Maybe data or data->formats() are nullptr.

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

Reply via email to