[ https://issues.apache.org/jira/browse/ARROW-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rok Mihevc updated ARROW-4669: ------------------------------ External issue URL: https://github.com/apache/arrow/issues/21200 > [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 > Assignee: Micah Kornfield > Priority: Critical > Labels: pull-request-available > Fix For: 0.13.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > 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 (v8.20.10#820010)