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

fn AlignedVec::resize: Validate safety requirements, specifically overflow #1357

Merged

Commits on Sep 10, 2024

  1. Validate AlignedVec::resize safety requirements

    This is a necessary check for soundness, as demonstrated by the test
    which can SIGSEGV without the check. Before the check, an overflow in
    the underlying buffer calculation can create incoherent state where the
    vector believes in an impossibly large buffer of the item type which is
    not actually backed by a correctly sized buffer of chunks.
    HeroicKatora committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    556beac View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    7275739 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    c267131 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    9464e27 View commit details
    Browse the repository at this point in the history