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
{{ message }}
Repository navigation
Web implementation of hashValues can overflow when given too many inputs #50651
The version of hashValues in lib/web_ui/build/packages/ui/src/ui/hash_codes.dart combines hash values by repeatedly multiplying a running total by a constant and then adding the next value. This can result in overflow if hashValues is given a large number of inputs.
When the underlying JavaScript number overflows it saturates to infinity. This causes hashValues to return the same infinity value for different inputs, resulting in an ineffective hash.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
github-actions commentedon Aug 23, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.