You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we upgraded to v8.17.0, seeing a crash Swift runtime failure: arithmetic overflow from MPIHasher.hashString(_:). Below you can find the full stack trace. We traced down the crash to MPIHasher line 33
var hash: Int32 = 0
for byte in dataToHash {
hash = ((hash << 5) &- hash) + Int32(byte); // <= crashes here
}
This would likely due to the resulting hash value exceeds the range of Int32. Using Int64 might fix it. Could you please fix it Thank you
@maurovc apologies for the late reply. Yes that release does resolve the issue. The overflow is actually intentional, it's the crash that wasn't. That's been fixed by using the overflow addition operator.
Since we upgraded to v8.17.0, seeing a crash
Swift runtime failure: arithmetic overflow
from MPIHasher.hashString(_:). Below you can find the full stack trace. We traced down the crash to MPIHasher line 33This would likely due to the resulting hash value exceeds the range of Int32. Using
Int64
might fix it. Could you please fix it Thank youStack trace
The text was updated successfully, but these errors were encountered: