diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-10-25 17:11:11 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-10-25 17:11:11 +0200 |
commit | e5e959835b195c023d1f685ef4dbbcfc3b5120b2 (patch) | |
tree | b289ec06a3774611210e1f2a5dc1581b1d3cdae6 /%2525252525253fid%2525252525253d6bc9bf97bcc0b53d84d0e73c1dfb74c644f5d7bd%25252525253fid%25252525253d6bc9bf97bcc0b53d84d0e73c1dfb74c644f5d7bd%25253fid%25253d83168f5447ed5465b06673052aa8c6c8e3c40e38%253fid%253da8fbe5f5021f1951a6342663e5bb4e845dd08104%3fid%3dd9e6811d41e0ff5741e2f719c356af760b931f7b?id=e5e959835b195c023d1f685ef4dbbcfc3b5120b2 | |
parent | 68d1ad9b54e952e3079356aeab8ab37e44c56c2c (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 '%2525252525253fid%2525252525253d6bc9bf97bcc0b53d84d0e73c1dfb74c644f5d7bd%25252525253fid%25252525253d6bc9bf97bcc0b53d84d0e73c1dfb74c644f5d7bd%25253fid%25253d83168f5447ed5465b06673052aa8c6c8e3c40e38%253fid%253da8fbe5f5021f1951a6342663e5bb4e845dd08104%3fid%3dd9e6811d41e0ff5741e2f719c356af760b931f7b?id=e5e959835b195c023d1f685ef4dbbcfc3b5120b2')
0 files changed, 0 insertions, 0 deletions