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 '%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d8629d9a1da72cc18568a8f146307b0e939b77ebf%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d8629d9a1da72cc18568a8f146307b0e939b77ebf&id2%25252525252525252525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d8629d9a1da72cc18568a8f146307b0e939b77ebf&id2%252525252525252525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253d8629d9a1da72cc18568a8f146307b0e939b77ebf&id2%2525252525252525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253d8629d9a1da72cc18568a8f146307b0e939b77ebf%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee&id2%2525252525252525252525252525252525252525253daf3bb68add1c40d19d0dee382009e21b0870a38f%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee&id2%25252525252525252525252525252525252525253daf3bb68add1c40d19d0dee382009e21b0870a38f%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee%25252525252525252525252525252525253fid%25252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee&id2%25252525252525252525252525252525253daf3bb68add1c40d19d0dee382009e21b0870a38f%252525252525252525252525252525253fid%252525252525252525252525252525253def0551932fb162f907b40185d2f48c3b497708ee%2525252525252525252525253fid2%2525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525253fid2%25252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%2525252525252525253fid%2525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525253fid%25252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%252525252525253fid%252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%2525252525253fid%2525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%25252525253fid%25252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%25252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b%252525253fid%252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%2525253fid%2525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%25253fid%25253d211964d56ee00a7d46e251cbc150afb79138ae37%253fid%253df17abd25b376c292f783062ecf821453eaa9cc4c%3fid%3d7e8050cc621f27002eaf1be8114dee2497beff91?id=e5e959835b195c023d1f685ef4dbbcfc3b5120b2')
0 files changed, 0 insertions, 0 deletions