-
Notifications
You must be signed in to change notification settings - Fork 43
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
Memory corruption error in "trie_new" method when using libdatrie v2.10.0 #6
Comments
|
v2.9.0 works "Optimize AlphaMap mapping" commit has one overflow bug. alpha_map_char_to_trie() is called everywhere before trie state We won't change the persistent AlphaMap structure, but will add |
Although I cannot reproduce it with a C test case (it survives segfault somehow), I can detect the behavior as @nevermatch described. Indeed, |
I used libdatrie v2.9.0 in a PHP extension and it works.
I saw there was a libdatrie v2.10.0, so I tried it, but it would get memory corruption error in "trie_new" method in trie.c. I think it's because that you changed alpha map data structure in v2.10.0
Here below contains related source file methods and core dump backtrace:
The text was updated successfully, but these errors were encountered: