Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-40652: [C++] Enlarge dest buffer according to dest offset fo…
…r `CopyBitmap` benchmark (apache#40769) ### Rationale for this change `CopyBitmap` benchmark doesn't make dest buffer large enough wrt. the possible dest offset, causing memory issues like when accessing the trailing bytes. ### What changes are included in this PR? Make the dest buffer wrt. dest offset. ### Are these changes tested? The fix itself is test (benchmark). ### Are there any user-facing changes? None. * GitHub Issue: apache#40652 Authored-by: Ruoxi Sun <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
- Loading branch information