summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_resource.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-03-02 15:36:02 +0000
committernicm <nicm@openbsd.org>2016-03-02 15:36:02 +0000
commit98da63d5a13e2347fd3691b3336d5820e8c25d9b (patch)
treebfae7f5c71c92e0c3363071046c3ef57b6450d3f /sys/compat/linux/linux_resource.c
parentLimit x, y and b to 0x7ff for UTF-8 mouse input, suggested by schwarze@. (diff)
downloadwireguard-openbsd-98da63d5a13e2347fd3691b3336d5820e8c25d9b.tar.xz
wireguard-openbsd-98da63d5a13e2347fd3691b3336d5820e8c25d9b.zip
Handle wcwidth() and mbtowc() failures in better style and drop
characters where we can't find the width (wcwidth() fails) on input, the same as we drop invalid UTF-8. Suggested by schwarze@.
Diffstat (limited to 'sys/compat/linux/linux_resource.c')
0 files changed, 0 insertions, 0 deletions