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
For Vec<T> where T is a ZST, Vec::into_flattened() uses usize::checked_mul() as the length and usize::MAX as the capacity of the new Vec, ultimately passing the capacity to new_cap() without further checking and violating its safety invariants.