-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
ICU-22934 clean up error handling in PR#3230 #3231
ICU-22934 clean up error handling in PR#3230 #3231
Conversation
Please add a unit test that triggers the recursion depth failures. It's not immediately obvious that there won't be memory leaks or other problems when they occur. In functions with a newly added UErrorCode in PR #3230, double check the error handling. RBBINode::cloneTree(), for instance,
In RBBINode::flattenSets(), maybe make the setRefNode variables into localPointers, so you can more easily return immediately if the cloneTree() calls set an error. |
e86eab7
to
2d3da3e
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
I have the problem to do that. The fuzzer found test case is > 400k in a file. |
2d3da3e
to
5cbbcef
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
Hi Frank, |
ping |
ping |
1 similar comment
ping |
Well, looks like @aheninger is not responding. Either I can take a look or @eggrobin can... |
The ticket already has another merged PR, so the ticket must be closed by Wed feb12. Note that aside from Andy's comments there are also CI check failures. |
ICU-22934 Fix error handling while new return nullptr ICU-22934 Simplfied ICU-22934 more ICU-22934 fix leak
5cbbcef
to
9dfa887
Compare
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
rebase to figut out what is the other breakage on the CI first. |
@eggrobin @richgillam could you review this again. I try to fix the CI failure if they show up. @aheninger said he will add more tests but not coming back to shis for along time. How about we land this after I fix all CI issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The changes look fine to me.
I'm fine with landing this in its current state and filing a ticket or something for the additional tests Andy wants to see. |
Checklist