Skip to content

Transforming &[u8; 16] to [u64; 2] using transmute_copy causes Bus errors on aarch64 #55044

Closed
@newpavlov

Description

@newpavlov

See this issue: RustCrypto/stream-ciphers#5

The line in question is here. Does it contain UB or is it a miscompilation? If it's the former, then I think transmute_copy documentation should be updated accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions