about summary refs log tree commit diff stats
path: root/docs/profanity-lastactivity.1
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2022-03-29 13:38:02 +0300
committerPaul Fertser <fercerpav@gmail.com>2022-03-29 13:57:07 +0300
commit1e81eea8990ca1e2370cde591a23e87c866d8000 (patch)
treec9431ea3154ad485fd018aa264e431f6d25a1f81 /docs/profanity-lastactivity.1
parent3ee3d78af58f62d3dd2587190992c9465b9b416e (diff)
downloadprofani-tty-1e81eea8990ca1e2370cde591a23e87c866d8000.tar.gz
Input window: handle invalid multibyte
The current code enters an infinite loop if the input string happens
to get an invalid utf-8 sequence somehow. For me it was reproducible
by running profanity in a Screen session and pressing Alt-т (cyrillic
letter).

Fix it the way borrowed from 0501e49623f68aa39508e4e622924c1dd8147588
where mbrlen is used for the same purposes.
Diffstat (limited to 'docs/profanity-lastactivity.1')
0 files changed, 0 insertions, 0 deletions