Skip to content

clipboard: Make sure G_TYPE_STRING is nul-terminated

Benjamin Otte requested to merge wip/otte/for-master into master

When reading text, we need to check we terminate the G_TYPE_STRING string with a null byte, because the clipboard does not guarantee one.

So just append a \0 to the stream.

Fixes #3899 (closed)

Merge request reports