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

Akseli Lahtinen <akse...@akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/390d4fa6d2a8e7507021884ed
                   |                            |b5bd5207ee151e6
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 390d4fa6d2a8e7507021884edb5bd5207ee151e6 by Akseli Lahtinen.
Committed on 08/02/2024 at 15:25.
Pushed by akselmo into branch 'master'.

Notification: ensure arg is StructureType when decoding ImageHint

If `arg` is any other type than `StructureType`, broken imagehint would crash
plasmashell.
This change checks for the imagehint that it is correct type.

It is better to return no image at all than crash whole shell.

Tested with the ruby code attachment in the bug report.

M  +3    -0    libnotificationmanager/notification.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/390d4fa6d2a8e7507021884edb5bd5207ee151e6

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

Reply via email to