Skip to content
Commit d5549c4c 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 3db9a021
Pipeline #602493 passed with stage
in 13 minutes and 13 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