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

   `GetScalar` only guarded the upper bound (`idx >= arr.Len()`), and the 
`IsNull(idx)` call ran before that check, so a negative index panicked inside 
the null-bitmap lookup instead of returning an error.
   
   Check both bounds first and return `arrow.ErrIndex` for any out-of-range 
index.
   
   Split out from review comment in #936.


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