Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

[feat] fix index out of range when update #301

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aireet
Copy link

@aireet aireet commented Jan 6, 2025

image

When using Minio, I noticed that this lib sometimes causes an "index out of range" error. So, I traced it back to this point: rand.Int63n(s.count) can indeed cause problems under certain coincidental circumstances.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant