Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Safe Transmute: Require that source referent is smaller than destination #122438

Merged
merged 1 commit into from
Mar 14, 2024

Commits on Mar 13, 2024

  1. safe transmute: require that src referent is smaller than dst

    The source referent absolutely must be smaller than the destination
    referent of a ref-to-ref transmute; the excess bytes referenced
    cannot arise from thin air, even if those bytes are uninitialized.
    jswrenn committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    216df4a View commit details
    Browse the repository at this point in the history