Skip to content

Unsafe memory deallocations #2

@Daniel-Liu-c0deb0t

Description

@Daniel-Liu-c0deb0t

Deallocations of manually allocated memory that is over-aligned is undefined behavior since Rust requires deallocations to have the exact same layout as the corresponding allocations. This happens when manually allocated memory is wrapped using a Vec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions