Skip to content

_bindgen_union_align field in generated Rust union results in garbage data on AArch64 (e.g. Apple Silicon) #1973

Open
@frewsxcv

Description

@frewsxcv

See https://users.rust-lang.org/t/on-apple-silicon-bindgen-union-is-constructed-with-random-data/54469/ for a write-up and context. This may or may not be a security issue, since it's reading arbitrary memory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions