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 '%2525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525253d273db5ceaf392e68c2faf8f7dec14ea2e25e980d%25252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525253d273db5ceaf392e68c2faf8f7dec14ea2e25e980d%252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525253d8e310303903792c010d03c046ba75f8b18f7d3a7%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%25252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%2525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%2525252525252525252525252525252525252525252525252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%25252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b&id2%2525252525252525252525252525252525252525252525252525253d6bc9bf97bcc0b53d84d0e73c1dfb74c644f5d7bd%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b&id2%252525252525252525252525252525252525252525252525253de5e959835b195c023d1f685ef4dbbcfc3b5120b2%252525252525252525252525252525252525252525253fshowmsg%252525252525252525252525252525252525252525253d1%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38&id2%2525252525252525252525252525252525253d9846a56bd7fdc86bf788db04bbbcbde7b7eb9952%25252525252525252525252525252525253fid%25252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525253fid%252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%2525252525252525252525252525253fid%2525252525252525252525252525253d9846a56bd7fdc86bf788db04bbbcbde7b7eb9952%25252525252525252525252525253fid%25252525252525252525252525253d9846a56bd7fdc86bf788db04bbbcbde7b7eb9952%252525252525252525252525253fid%252525252525252525252525253d9846a56bd7fdc86bf788db04bbbcbde7b7eb9952&id2%252525252525252525252525253d559fdc278681c98470749adb59f01cd071720458%2525252525252525253fid%2525252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%25252525252525253fid%25252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525253fid%252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38&id2%252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%252525253fid%252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%2525253fid%2525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%25253fid%25253dd9e6811d41e0ff5741e2f719c356af760b931f7b%253fid%253dd9e6811d41e0ff5741e2f719c356af760b931f7b%3fid%3de5e959835b195c023d1f685ef4dbbcfc3b5120b2?id=e5e959835b195c023d1f685ef4dbbcfc3b5120b2')
0 files changed, 0 insertions, 0 deletions