unicode-combining: limit maximum number of allowed composed chains

This commit is contained in:
Daniel Eklöf 2020-05-03 11:31:59 +02:00
parent 1ebdc01162
commit 4d4df92f66
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 13 additions and 5 deletions

View file

@ -217,6 +217,7 @@ struct terminal {
struct grid *grid;
#define COMB_CHARS_LO 0x40000000ul
#define COMB_CHARS_HI 0x400ffffful
size_t composed_count;
struct composed *composed;