summaryrefslogtreecommitdiff
path: root/src/enchant.c
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2020-01-18 14:50:39 +0000
committerReuben Thomas <rrt@sc3d.org>2020-01-18 14:50:39 +0000
commit43adab305e3b35cc8fe86747f5300c473dd04eb9 (patch)
treed3dcc22f6e424926be5b4a80c9dfbb94d99f9340 /src/enchant.c
parent40482a284f30a8337b20527311a2008d65f266e9 (diff)
downloadenchant-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