Closed
Description
It appears that Collect::reserve_get_tail_slice might have undefined behavior. The code is reserving uninitialized space, then creating a mutable reference to it. This us UB according to this documentation.
Metadata
Metadata
Assignees
Labels
No labels