-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Some ArrayTrie methods throw StackOverflowError when cointaining a very large entry #7517
Labels
Bug
For general bugs on Jetty side
Comments
gregw
added a commit
that referenced
this issue
Feb 7, 2022
* Fix #7518 Trie.getBest with empty Key (#7527) Fix #7518 Trie.getBest with empty Key * Only increment current row if not recursing. * Fixed match ending with big char Signed-off-by: Greg Wilkins <[email protected]> * Jetty 9.4.x 7517 trie stack overflow (#7528) Fix #7518 Trie stack overflows * Avoid recursion where possible Signed-off-by: Greg Wilkins <[email protected]> * Added extra tests Signed-off-by: Greg Wilkins <[email protected]> * removed empty file Signed-off-by: Greg Wilkins <[email protected]>
@lorban is this done/complete now? |
@joakime yes, it's all done and merged across the necessary branches. Thanks for the heads up. |
@lorban did these changes make it into the jetty-12 branch? I think we need a process to track such issues? |
@gregw no, they did not get merged to 12.0.x and you're right that we're going to need a process to remind us that. I'm going to merge that right away. |
lorban
added a commit
that referenced
this issue
Feb 18, 2022
Signed-off-by: Ludovic Orban <[email protected]>
Merged to 12.0.x. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version(s)
9.4.x
Description
keySet()
andtoString()
recurse too deep on large entries, so they're likely to throwStackOverflowError
.Consider the following:
The text was updated successfully, but these errors were encountered: