alamb commented on code in PR #9872:
URL: https://github.com/apache/arrow-rs/pull/9872#discussion_r3175276531
##########
arrow-array/src/array/fixed_size_binary_array.rs:
##########
@@ -120,6 +122,8 @@ impl FixedSizeBinaryArray {
}
};
+ Self::validate_lengths(s, len)?;
Review Comment:
this is the key check -- it prevents creating arrays that are susceptible to
this overflow
--
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]