You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/02/23 22:36:00 UTC
[jira] [Updated] (ARROW-4669) [Java] No Bounds checking on
ArrowBuf.slice
[ https://issues.apache.org/jira/browse/ARROW-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-4669:
--------------------------------
Fix Version/s: 0.13.0
> [Java] No Bounds checking on ArrowBuf.slice
> -------------------------------------------
>
> Key: ARROW-4669
> URL: https://issues.apache.org/jira/browse/ARROW-4669
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Jacques Nadeau
> Priority: Critical
> Fix For: 0.13.0
>
>
> While reviewing some code I realized that there is no bounds checking on ArrowBuf slicing. Example negative test case that should pass but is currently failing can be found here:
> [https://gist.github.com/jacques-n/737c26b7016ed29dc710d4aba617340e]
> It may be that this doesn't cause more problems because the index checks do exist on memory access but fixing this would make it much easier to understand where a code mistake was made.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)