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 '%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253dd4eee428f9c7b7f0aeb34042677bce4f98431fa6%25252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525253dd4eee428f9c7b7f0aeb34042677bce4f98431fa6%252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525253d990bdee7b3ae54b8b9fbe7b565f9072552c3771d%2525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525253d2c5edf28ec851907305d73c6218ce75d39f1767f%25252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525253db1d97fec47b0d6633addb848131388ec40154ebc%25252525252525252525252525252525252525252525252525252525252525253fid2%25252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38&id2%2525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%252525252525252525252525252525252525252525253fshowmsg%252525252525252525252525252525252525252525253d1%25252525252525252525252525252525252525253fshowmsg%25252525252525252525252525252525252525253d1%25252525252525252525252525252525253fid%25252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525253fid%252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%2525252525252525252525252525253fid%2525252525252525252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%25252525252525252525252525253fid%25252525252525252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%25252525252525252525253fid%25252525252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%252525252525252525253fid%252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%2525252525252525253fid%2525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525253fid%25252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%252525252525253fid%252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%2525252525253fid%2525252525253df17abd25b376c292f783062ecf821453eaa9cc4c%25252525253fid%25252525253d7e8050cc621f27002eaf1be8114dee2497beff91%252525253fid%252525253d7e8050cc621f27002eaf1be8114dee2497beff91%2525253fid%2525253d7e8050cc621f27002eaf1be8114dee2497beff91&id2%2525253de5e959835b195c023d1f685ef4dbbcfc3b5120b2%25253fid%25253d7e8050cc621f27002eaf1be8114dee2497beff91%253fid%253d7e8050cc621f27002eaf1be8114dee2497beff91%3fid%3d7e8050cc621f27002eaf1be8114dee2497beff91?id=e5e959835b195c023d1f685ef4dbbcfc3b5120b2')
0 files changed, 0 insertions, 0 deletions