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
chunked_vector crashes in certain cases if reserve() is called twice without the reservation being consumed #10363
Milestone
Comments
Backported to 4.5, 4.6, 5,0 (just in case) |
avikivity
pushed a commit
that referenced
this issue
Apr 13, 2022
Fixes the case of make_room() invoked with last_chunk_capacity_deficit but _size not in the last reserved chunk. Found during code review, no known user impact. Fixes #10363. Message-Id: <20220411222605.641614-1-tgrabiec@scylladb.com> (cherry picked from commit 01eeb33) [avi: make max_chunk_capacity() public for backport]
avikivity
pushed a commit
that referenced
this issue
Apr 13, 2022
Fixes the case of make_room() invoked with last_chunk_capacity_deficit but _size not in the last reserved chunk. Found during code review, no known user impact. Fixes #10363. Message-Id: <20220411222605.641614-1-tgrabiec@scylladb.com> (cherry picked from commit 01eeb33) [avi: make max_chunk_capacity() public for backport]
benipeled
pushed a commit
to benipeled/scylla
that referenced
this issue
May 31, 2022
Fixes the case of make_room() invoked with last_chunk_capacity_deficit but _size not in the last reserved chunk. Found during code review, no known user impact. Fixes scylladb#10363. Message-Id: <20220411222605.641614-1-tgrabiec@scylladb.com> (cherry picked from commit 01eeb33) [avi: make max_chunk_capacity() public for backport]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found by @tgrabiec via code review:
The text was updated successfully, but these errors were encountered: