You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "rok (via GitHub)" <gi...@apache.org> on 2026/06/30 12:21:00 UTC

[PR] GH-50304: [C++][IPC] Validate sparse tensor index sizes to prevent OOB access [arrow]

rok opened a new pull request, #50305:
URL: https://github.com/apache/arrow/pull/50305

   ### Rationale for this change
   
   `GetSparseTensorMetadata` and the sparse-tensor readers in `cpp/src/arrow/ipc/` currently accept several sizes from an IPC SparseTensor message without validation. We Want to introduce validations.
   
   ### What changes are included in this PR?
   
   Several validity checks are introduced.
   
   ### Are these changes tested?
   
   Not yet.
   
   ### Are there any user-facing changes?
   
   IPC messages are more scrutinized.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-50304: [C++][IPC] Reject negative sparse tensor shape and non-zero length [arrow]

Posted by "rok (via GitHub)" <gi...@apache.org>.
rok merged PR #50305:
URL: https://github.com/apache/arrow/pull/50305


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-50304: [C++][IPC] Reject negative sparse tensor shape and non-zero length [arrow]

Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #50305:
URL: https://github.com/apache/arrow/pull/50305#issuecomment-4852345851

   After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 72a970f713b334e9faa77113daf4dcf77c1bcdc2.
   
   There were no benchmark performance regressions. 🎉
   
   The [full Conbench report](https://github.com/apache/arrow/runs/84492708198) has more details.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-50304: [C++][IPC] Validate sparse tensor index sizes to prevent OOB access [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #50305:
URL: https://github.com/apache/arrow/pull/50305#issuecomment-4843395671

   :warning: GitHub issue #50304 **has been automatically assigned in GitHub** to PR creator.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org