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
LengthBuckets.CreateLengthBucketsArrayIfAppropriate caused an
integer overflow when calculating bucket array size for very large
strings, resulting in a negative value being passed to
ArrayPool<T>.Shared.Rent. This triggered an ArgumentOutOfRangeException
when creating a FrozenDictionary with large strings approaching Array.MaxLength.
Add an overflow check to prevent creating buckets when the calculation
would overflow.
0 commit comments