-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-49104: [C++] Fix Segfault in SparseCSFIndex::Equals with mismatched dimensions #49105
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
Merged
rok
merged 13 commits into
apache:main
from
AliRana30:fix-sparsecsfindex-equals-segfault
Feb 4, 2026
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
daa5f73
[C++] Fix Segfault in SparseCSFIndex::Equals with mismatched dimensions
Alirana2829 3e1cbd6
[C++] Add regression test for SparseCSFIndex::Equals segfault
Alirana2829 fdf506e
Fix Segfault in SparseCSFIndex::Equals with mismatched dimensions and…
Alirana2829 c87afdb
Fix lint: Format SparseCSFIndex::Equals to comply with 90-char line l…
Alirana2829 8dbc21b
Fix test: Use valid CSF index structures (2D vs 3D instead of invalid…
Alirana2829 900b98d
Remove invalid test causing segfaults with empty tensors
Alirana2829 76fe338
Revert formatting changes per maintainer feedback
Alirana2829 a6e5088
Remove redundant axis_order size check per review feedback
Alirana2829 f9bc643
Update cpp/src/arrow/sparse_tensor.cc
AliRana30 c1e33a2
Update cpp/src/arrow/sparse_tensor_test.cc
AliRana30 915dcdc
Fix duplicate function definition from GitHub suggestion
Alirana2829 b508636
Update cpp/src/arrow/sparse_tensor.cc
AliRana30 ae4c1b9
Apply clang-format indentation per CI requirement
Alirana2829 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.