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

colblk: fix decoder initialization in TestIndexIterInitHandle #4246

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

RaduBerinde
Copy link
Member

We were initializing the index block decoder using the go data buffer
(resulting in that buffer only being referenced from Cgo memory). Fix
the Init call to use the actual buffer.

Fixes #4242

We were initializing the index block decoder using the go data buffer
(resulting in that buffer only being referenced from Cgo memory). Fix
the `Init` call to use the actual buffer.

Fixes cockroachdb#4242
@RaduBerinde RaduBerinde requested a review from jbowens January 10, 2025 16:40
@RaduBerinde RaduBerinde requested a review from a team as a code owner January 10, 2025 16:40
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@jbowens jbowens left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @RaduBerinde)

@RaduBerinde RaduBerinde merged commit ccf7577 into cockroachdb:master Jan 10, 2025
23 checks passed
@RaduBerinde RaduBerinde deleted the fix-iter-init-handle branch January 10, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

colblk: bad pointer in Go heap
3 participants