Skip to content

Conversation

@brson
Copy link
Contributor

@brson brson commented Oct 21, 2020

The Vec must be deallocated with the same pointer alignment and capacity as it
is created.

Signed-off-by: Brian Anderson [email protected]

Found with miri cc @RalfJung

The Vec must be deallocated with the same pointer alignment and capacity as it
is created.

Signed-off-by: Brian Anderson <[email protected]>
@BusyJay
Copy link
Member

BusyJay commented Oct 21, 2020

Perhaps we can also add miri check in CI.

Copy link
Member

@skyzh skyzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll add miri check later

@skyzh skyzh merged commit 8809021 into tikv:master Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants