-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-43414: [C++][Compute] Fix invalid memory access when resizing var-…
…length buffer in row table (#43415) ### Rationale for this change As #43414 explained. The UT in PR reproduces this issue well (may need ASAN to detect). ### What changes are included in this PR? Check if `is_fixed_length` before treating the second buffer as offset. ### Are these changes tested? UT included. ### Are there any user-facing changes? None. * GitHub Issue: #43414 Lead-authored-by: Ruoxi Sun <zanmato1984@gmail.com> Co-authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
- Loading branch information
1 parent
8068554
commit 45b1767
Showing
3 changed files
with
41 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters