fallintoplace opened a new pull request, #923:
URL: https://github.com/apache/arrow-go/pull/923

   FixedSizeBinary.Value applied the physical slice offset before validating 
the logical index. On sliced arrays, negative and one-past-the-end indexes 
could therefore expose adjacent values from the shared backing buffer.
   
   This adds the standard array bounds check before applying the physical 
offset and covers valid, negative, and one-past-the-end access on a sliced 
three-element array.
   
   Tests:
   - go test ./arrow/array -run 'TestFixedSizeBinary(ValueBounds|Slice|$)'
   - go test ./arrow/array


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to