xprops: Validate text properties that claim to be UTF8
All threads resolved!
All threads resolved!
Some clients such as mpv might set the WM_TITLE as a UTF8_STRING based on some unconverted/unvalidated metadata that is not actually UTF8. This would then be set as the title of a MetaWindow (in the absence of a valid UTF8 _NET_WM_TITLE). The shell then tries to use this window title for things like the overview or the window switcher where it would trigger an UTF8 validation error and leave the shell in an unusable state.
Fixes: #1794 (closed)
Merge request reports
Activity
Filter activity
Here is a small reproducer that does not require running mpv: invalid-utf8-wm-name.c
- Resolved by Sebastian Keller
assigned to @marge-bot
mentioned in commit skeller/mutter@e4236530
added 34 commits
-
9abb5d58...64c9c9c5 - 33 commits from branch
GNOME:master
- e4236530 - xprops: Validate text properties that claim to be UTF8
-
9abb5d58...64c9c9c5 - 33 commits from branch
mentioned in issue #212 (closed)
Please register or sign in to reply