diff options
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 '%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2%25252525252525252525252525252525253fid%25252525252525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2%252525252525252525252525252525253fid%252525252525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2&id2%252525252525252525252525252525253dcecad8d218d435782485977c76184138f4e4459a%2525252525252525252525252525253fid%2525252525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2&id2%2525252525252525252525252525253dcecad8d218d435782485977c76184138f4e4459a%25252525252525252525252525253fid%25252525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2%252525252525252525252525253fid%252525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2&id2%252525252525252525252525253db1d97fec47b0d6633addb848131388ec40154ebc%2525252525252525252525253fid%2525252525252525252525253d670ddec83f39b5544555952a7c737c878569e1a2%25252525252525252525253fid%25252525252525252525253db1d97fec47b0d6633addb848131388ec40154ebc%252525252525252525253fid%252525252525252525253db1d97fec47b0d6633addb848131388ec40154ebc%2525252525252525253fid%2525252525252525253dea7cd7b62fdfa6a1fbd882d1565d557577f2cf32%25252525252525253fid%25252525252525253dea7cd7b62fdfa6a1fbd882d1565d557577f2cf32&id2%25252525252525253d7fb0c0cc681f36be2ad12091ef93a41671f32738%252525252525253fid%252525252525253dea7cd7b62fdfa6a1fbd882d1565d557577f2cf32&id2%252525252525253d7fb0c0cc681f36be2ad12091ef93a41671f32738%2525253fid%2525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25253fid%25253da8fbe5f5021f1951a6342663e5bb4e845dd08104%253fid%253da8fbe5f5021f1951a6342663e5bb4e845dd08104%3fid%3dd9e6811d41e0ff5741e2f719c356af760b931f7b?id=e5e959835b195c023d1f685ef4dbbcfc3b5120b2')
0 files changed, 0 insertions, 0 deletions