[C++][IPC] Improve sparse tensor index validation
Open
Component: C++
Type: bug
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the bug, including details regarding any error messages, version, and platform.
Malformed sparse tensor indices are not rejected when reading IPC data and converting sparse tensors to dense tensors.
Improve validation for compressed sparse tensor formats, including index bounds, pointer consistency, and CSF axis ordering. Add regression tests for invalid inputs.
### Component(s)
C++
Contributor guide
Assessment
This issue has not been assessed yet.