aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-22 09:21:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-22 09:21:41 +0000
commitb59fd7c388c8d59a08e7e30f07e4639d2fd5451f (patch)
tree4b6d98bce0a1ef06672960bcd1a1eb8ca6194d03 /selection.c
parentselection: send_clipboard_or_primary(): handle selection text being NULL (diff)
vt: detect and ignore invalid UTF-8 sequences
This patch detects invalid codepoints in the UTF-8 EDxxxx range, and the F4xxxxxx range. Note that we still allow the E0xxxx and F0xxxxxx ranges. These contains overlong encodings. We allow them, because they still decode into correct UTF-32. Closes #1423
Diffstat (limited to 'selection.c')
0 files changed, 0 insertions, 0 deletions