jorgecarleitao opened a new issue #772:
URL: https://github.com/apache/arrow-rs/issues/772


   Creating a `GenericBinaryArray` with an offset whose maximum value goes past 
`values` leads to out of bound accesses in `safe` code.
   
   To reproduce, create a `BinaryArray` with
   
   * `offsets: [0, 1000]`
   * `values: [0, 1, 1]`
   
   and call `BinaryArray::value(0)`.
   
   This results in a memory access violation since it will read `values` in the 
range `[0..1000]`, when there are only 3 elements on it.
   
   This affects all versions of the crate released so far.


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