-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
NPE in internal.idn.IdnaMappingTable.findRangesOffset #8574
Comments
tries to read an index from a String that obviously doesn't exist, easy fix would be to add a sanity test before getting the index
since ranges is |
I don't think that's the right fix. It's hiding a bug in the logic, the VM/compiler, or the build corrupting the file. We can make this code tolerant of corruption, but it's hiding the root problem.
Regarding why it's reading a char instead of a codepoint, the encoding is explained at the top of the file. But by this point we are really only looking the compare the last 7 bits of the target. |
I misread the error. It's even stranger than this.
So there isn't something we can fix. This is set and immutable from creation, before any methods are called. |
Can you provide more details about the Samsung devices seeing this error? Are they a particular version? A lot of distinct users? Are they jailbroken? |
I wonder if packing data into a string is upsetting the runtime somehow. |
seeing the above in some Samsung devices in Crashlytics
we are using '5.0.0-alpha.14'... by the way, would love to see a new alpha, it's been 7 months already
The text was updated successfully, but these errors were encountered: