Skip to content

st-clipboard: Add trailing 0 to pasted text

Carlos Garnacho requested to merge wip/carlosg/nul-after-pasted-text into master

We translate the raw stream content far too directly into a char*, it notably forgets that the stream does not have nul-ended data, this means we are potentially adding garbage after the pasted content.

Tentatively fixes #1570 (closed)

Merge request reports