Skip to content
Commit 55a27959 authored by Akseli Lahtinen's avatar Akseli Lahtinen
Browse files

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.

BUG:481033


(cherry picked from commit 390d4fa6)
parent fbf5602c
Pipeline #621255 failed with stage
in 7 minutes and 39 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment