-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Vec backing buffer leaks on panic during into_iter #69770
Copy link
Copy link
Closed
Labels
A-collectionsArea: `std::collections`Area: `std::collections`C-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-collectionsArea: `std::collections`Area: `std::collections`C-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When running the
test_into_iter_leaktest in Miri, it complains about a memory leak:Given that the leaked allocation contains "00 01 00", that seems a lot like the backing store of a
Vecwith initial contentD(false), D(true), D(false).