-
-
Notifications
You must be signed in to change notification settings - Fork 742
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-22609 Fix crash when udat_open() is passed a bogus locale name. #2747
Conversation
Well, the contributing documentation says "If your employer has already signed a CLA, then when you open your first Pull Request, an automated comment will appear that contains a link you can follow to declare your affiliation with this employer." but I don't see that link in the above automated comment. |
@markusicu @sffc I sent a private message about dbaron's CLA status |
3d577bd
to
f693279
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
I do not think the proposed fix is "good enough". For example, the following case will still crash I believe:
|
It's not clear to me what the expectation is for users of |
I put down a counter proposal fix in #2750 |
@dbaron it looks like there are some misleading aspects about how the CLA is displayed. As a result of this we're going to file a ticket upstream with the CLA assistant, and look at if we should update our wording for clarity. Meanwhile, please click the 'Login to sign…' button. it won't actually sign until you click the Agree button. After logging in, it will as you for your affiliation, choose My employer has already signed the CLA. if that is appropriate. As to the JIRA login, I'm not sure what's happening there. What do you get when you try to login to https://id.atlassian.com ? |
obsoleted by #2750 |
I've filed cla-assistant/cla-assistant#1034 to improve the wording in the CLA assistant, please comment on that PR if you have opinions. |
Checklist
This fixes a crash reported in Chromium bug 1491726. As described in that bug, the underlying problem is that when
udat_open()
is passed a bad locale name, the code ends up constructing aLocale
object and performing operations on that object without first calling itsisBogus
method, which leads to a crash. This change simplifies the code in a way that I believe is equivalent for non-bogus locale values, and fixes the crash.I was unable to figure out from the contributing documentation how to get an account to file a JIRA issue for this problem. It links to this contact page which links to a few mailing lists that all seem inappropriate and to this page on the bug tracking system that mentions the need for an account but doesn't say how to create one. If I actually go to JIRA it says "Something's gone wrong", "Looks like you've been signed out. Try logging in again.", "Log in", but clicking "Log in" just returns to the same page with the same error message, which doesn't appear to provide a mechanism for account creation.