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(buffer): panic on end index overflow in MutableBuffer::set_null_bits #4621

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

kawadakk
Copy link
Contributor

@kawadakk kawadakk commented Aug 2, 2023

Which issue does this PR close?

Closes #4620.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Aug 2, 2023
@kawadakk kawadakk marked this pull request as draft August 2, 2023 08:01
@kawadakk kawadakk force-pushed the patches/fix-mutable-buffer-oob branch from 99aca46 to ac75c65 Compare August 2, 2023 08:03
@kawadakk kawadakk marked this pull request as ready for review August 2, 2023 08:04
@kawadakk
Copy link
Contributor Author

kawadakk commented Aug 2, 2023

Simplified the code as per #4621 (comment)

@tustvold tustvold merged commit d5b713a into apache:master Aug 2, 2023
25 checks passed
@tustvold
Copy link
Contributor

tustvold commented Aug 2, 2023

Thank you for this 👍

@kawadakk kawadakk deleted the patches/fix-mutable-buffer-oob branch August 2, 2023 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bounds checking in MutableBuffer::set_null_bits can be bypassed
3 participants