diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-10-25 17:11:11 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-05-08 00:48:42 +0200 |
commit | 694803663e99299519e1dee88106adfc973c39b3 (patch) | |
tree | ba02b7e1f72f03cb0744cfa737c28702b63bac43 /boxdraw.c | |
parent | e95ea6bb8fd0638d7e9d0f70a3cbfbed18264435 (diff) |
fix buffer overflow when handling long composed input
To reproduce the issue:
"
If you already have the multi-key enabled on your system, then add this line
to your ~/.XCompose file:
[...]
<question> <T> <E> <S> <T> <question> :
"1234567890123456789012345678901234567890123456789012345678901234567890"
"
Reported by and an initial patch by Andy Gozas <andy@gozas.me>, thanks!
Adapted the patch, for now st (like dmenu) handles a fixed amount of composed
characters, or otherwise ignores it. This is done for simplicity sake.
Diffstat (limited to 'boxdraw.c')
0 files changed, 0 insertions, 0 deletions