Jefffrey commented on code in PR #12410:
URL: https://github.com/apache/arrow-rs/pull/12410#discussion_r4665502363
##########
arrow-array/src/array/fixed_size_binary_array.rs:
##########
@@ -239,12 +239,19 @@ impl FixedSizeBinaryArray {
));
}
+ let required_len = len * value_size;
Review Comment:
is this error case strictly necessary? arent we bounded by the above check
https://github.com/apache/arrow-rs/blob/6747ecda382b135ba0fb08868dd859a47c0304ad/arrow-array/src/array/fixed_size_binary_array.rs#L228
in that we cant overflow this multiplication if we've reached this point?
----
side note: it is not necessary to restate youve run the test suite, the CI
would speak for itself
--
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]