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

copy key before comparing during CreateBucket or CreateBucketIfNotExists #641

Merged
merged 2 commits into from
Dec 17, 2023

Conversation

fuweid
Copy link
Member

@fuweid fuweid commented Dec 17, 2023

It's follow-up of #637.

It's follow-up of etcd-io#637.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
It's follow-up of etcd-io#637.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Thanks

@ahrtr ahrtr merged commit 086cd74 into etcd-io:main Dec 17, 2023
14 checks passed
@ahrtr
Copy link
Member

ahrtr commented Dec 17, 2023

followup of #639 (comment)

fuweid added a commit to fuweid/bbolt that referenced this pull request Dec 18, 2023
- [bucket: allow to allocate key on stack in Put()](etcd-io#550)
- [bucket.Put: copy key before seek](etcd-io#637)
- [copy key before comparing during CreateBucket or CreateBucketIfNotExists](etcd-io#641)

Signed-off-by: Wei Fu <fuweid89@gmail.com>
fuweid added a commit to fuweid/bbolt that referenced this pull request Dec 18, 2023
- [bucket: allow to allocate key on stack in Put()](etcd-io#550)
- [bucket.Put: copy key before seek](etcd-io#637)
- [copy key before comparing during CreateBucket or CreateBucketIfNotExists](etcd-io#641)

Signed-off-by: Wei Fu <fuweid89@gmail.com>
ishan16696 pushed a commit to ishan16696/bbolt that referenced this pull request Feb 25, 2024
- [bucket: allow to allocate key on stack in Put()](etcd-io#550)
- [bucket.Put: copy key before seek](etcd-io#637)
- [copy key before comparing during CreateBucket or CreateBucketIfNotExists](etcd-io#641)

Signed-off-by: Wei Fu <fuweid89@gmail.com>
passiondev2024 added a commit to passiondev2024/bbolt that referenced this pull request Mar 20, 2024
- [bucket: allow to allocate key on stack in Put()](etcd-io/bbolt#550)
- [bucket.Put: copy key before seek](etcd-io/bbolt#637)
- [copy key before comparing during CreateBucket or CreateBucketIfNotExists](etcd-io/bbolt#641)

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants