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

merge_batcher: fix a Miri warning #396

Merged
merged 1 commit into from
Jun 15, 2023

Commits on Jun 15, 2023

  1. merge_batcher: fix a Miri warning

    This commit fixes a Miri error on `push_unchecked`.
    
    AFAICT, the issue was that the previous implementation wrote the new
    vector element before it increased the length of the vector, so the new
    element would be written to 'invalid' memory. Doing the lenght increase
    first fixes this.
    teskje committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    4158b57 View commit details
    Browse the repository at this point in the history