Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information