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

Fix a possible race with concurrent encryption with the same config #93

Merged
merged 1 commit into from
Oct 23, 2023

Commits on Oct 20, 2023

  1. Fix a possible race with concurrent encryption with the same config

    append() can allocate arrays with cap(s) > len(s), and future
    append() calls would then just write to the free slots; doing that
    from multiple goroutines would race.
    
    Signed-off-by: Miloslav Trmač <mitr@redhat.com>
    mtrmac committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    0e0e1a1 View commit details
    Browse the repository at this point in the history