You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++][IPC] Negative sparse tensor shape and non_zero_length are not validated #50304
GetSparseTensorMetadata in cpp/src/arrow/ipc/metadata_internal.cc reads per-dimension TensorDim.size and the tensor's non_zero_length straight from an IPC SparseTensor flatbuffer message without any range check.
This can yield tensors with negative dimensions and defeats the buffer-size validation in the sparse index readers.
changed the title [-][C++][IPC] Validate sparse tensor index attributes[/-][+][C++][IPC] Negative sparse tensor shape and non_zero_length are not validated[/+]on Jun 30, 2026
Activity
[-][C++][IPC] Validate sparse tensor index attributes[/-][+][C++][IPC] Negative sparse tensor shape and non_zero_length are not validated[/+]apacheGH-50304: [C++][IPC] Reject negative sparse tensor shape and no…
apacheGH-50304: [C++][IPC] Reject negative sparse tensor shape and no…
apacheGH-50304: [C++][IPC] Reject negative sparse tensor shape and no…
apacheGH-50304: [C++][IPC] Reject negative sparse tensor shape and no…
GH-50304: [C++][IPC] Reject negative sparse tensor shape and non-zero…
rok commentedon Jun 30, 2026
Issue resolved by pull request 50305
#50305