You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "ksj1230 (via GitHub)" <gi...@apache.org> on 2026/05/05 11:44:28 UTC

[I] [arrow-row] Integer overflow in Rows::row index handling leads to undefined behavior [arrow-rs]

ksj1230 opened a new issue, #9901:
URL: https://github.com/apache/arrow-rs/issues/9901

   ## Description
   This issue was previously reported privately and is now being disclosed following coordination with maintainers.
   
   `Rows::row()` computes `row + 1` without overflow checking. When the addition wraps, bounds checks may pass incorrectly, leading to invalid indexing.
   
   This can result in a potential out-of-bounds read via safe Rust APIs.
   
   ## Fix
   See PR #9817
   
   Reported by Sungjin Kim (@ksj1230)


-- 
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.apache.org

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


Re: [I] [arrow-row] Integer overflow in Rows::row index handling leads to undefined behavior [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #9901:
URL: https://github.com/apache/arrow-rs/issues/9901#issuecomment-4380126600

   Thank you @ksj1230 
   
   This was fixed in 
   - https://github.com/apache/arrow-rs/pull/9817
   
   It was released in 58.2.0 (last week)


-- 
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: [I] [arrow-row] Integer overflow in Rows::row index handling leads to undefined behavior [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #9901: [arrow-row] Integer overflow in Rows::row index handling leads to undefined behavior
URL: https://github.com/apache/arrow-rs/issues/9901


-- 
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: [I] [arrow-row] Integer overflow in Rows::row index handling leads to undefined behavior [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #9901:
URL: https://github.com/apache/arrow-rs/issues/9901#issuecomment-4397410988

   `label_issue.py` automatically added labels {'arrow'} from #9922


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