diff options
author | Reuben Thomas <rrt@sc3d.org> | 2020-01-18 14:50:39 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2020-01-18 14:50:39 +0000 |
commit | 43adab305e3b35cc8fe86747f5300c473dd04eb9 (patch) | |
tree | d3dcc22f6e424926be5b4a80c9dfbb94d99f9340 /src/enchant.c | |
parent | 40482a284f30a8337b20527311a2008d65f266e9 (diff) | |
download | enchant-43adab305e3b35cc8fe86747f5300c473dd04eb9.tar.gz |
src/pwl.c: fix buffer overflow in trie matching
Add an extra byte to the ‘word’ buffer, as the check for transposed
characters can look two characters (here, NULs, so one character per byte)
past the end of the buffer.
Diffstat (limited to 'src/enchant.c')
0 files changed, 0 insertions, 0 deletions