Skip to content

[C++][IPC] Improve sparse tensor index validation #50816

Description

@rok

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++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions