1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
profanity/src
Paul Fertser 1e81eea899 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 0501e49623
where mbrlen is used for the same purposes.
2022-03-29 13:57:07 +03:00
..
command Add none option for /who 2022-03-27 16:06:29 +03:00
config Use EDITOR environment variable 2022-03-27 21:48:45 +03:00
event add profanity-specific CAfile 2022-03-22 11:44:01 +01:00
omemo add files_file_in_account_data_path() 2022-03-13 14:15:02 +01:00
otr add files_file_in_account_data_path() 2022-03-13 14:15:02 +01:00
pgp Merge pull request #1644 from profanity-im/ox-polish 2022-03-21 10:08:13 +01:00
plugins Fix python executed during configure 2022-02-18 19:45:31 +01:00
tools Fix crash on /editor 2022-03-24 11:42:49 +02:00
ui Input window: handle invalid multibyte 2022-03-29 13:57:07 +03:00
xmpp also store PEM in TLSCertificate 2022-03-22 11:34:23 +01:00
common.c use g_mkdir_with_parents() instead of home-baked solution 2022-03-14 13:17:46 +01:00
common.h use g_mkdir_with_parents() instead of home-baked solution 2022-03-14 13:17:46 +01:00
database.c add files_file_in_account_data_path() 2022-03-13 14:15:02 +01:00
database.h Apply coding style 2020-07-07 14:18:57 +02:00
log.c refactor logfile-name creation 2022-03-14 13:17:46 +01:00
log.h Remove log_reinit() 2020-12-11 11:18:24 +01:00
main.c first step to remove libmesode 2021-10-27 22:45:44 +02:00
profanity.c Format new register code correctly 2021-10-13 21:32:44 +02:00
profanity.h Update copyright 2021-01-08 16:36:30 +01:00