Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Unaligned pointer dereference now will panic in rust toolchain 1.70.0 #2807

Closed
siyuan0322 opened this issue Jun 5, 2023 · 0 comments · Fixed by #2811
Closed

[BUG] Unaligned pointer dereference now will panic in rust toolchain 1.70.0 #2807

siyuan0322 opened this issue Jun 5, 2023 · 0 comments · Fixed by #2811

Comments

@siyuan0322
Copy link
Collaborator

siyuan0322 commented Jun 5, 2023

See rust-lang/rust#98112

This affects some unsafe code, for example:

unsafe { *($ob.buf.offset($of as isize) as *const $ty) }

Used in

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant