Jacques Nadeau created ARROW-4669: ------------------------------------- Summary: [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 Reporter: Jacques Nadeau
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)