Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible bug #9

legale opened this issue Oct 28, 2018 · 1 comment

possible bug #9

legale opened this issue Oct 28, 2018 · 1 comment


Copy link

legale commented Oct 28, 2018

If i add full 1-byte range from 0x00 to 0xff. TrieChar 255 appears int the results of trie_state_walkable_chars() or trie_enumerate().


trietool 1byte add 12
trietool 1byte add 122
trietool 1byte list
12ÿ	-1
122	-1
Copy link

thep commented Nov 23, 2018

This appears to be a bug in AlphaMap where trie char 0 is incorrectly mapped to 255 (0xff) due to an overflow in alpha_map_recalc_work_area(), similar to Issue #6.

I'm fixing it soon.

@thep thep closed this as completed in 8e2537b Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants