e70b0f81b3
### What changes were proposed in this pull request? Add overflow check before do `new byte[]`. ### Why are the changes needed? Avoid overflow in extreme case. ### Does this PR introduce _any_ user-facing change? Maybe yes, the error msg changed if overflow. ### How was this patch tested? Pass CI. Closes #32142 from ulysses-you/SPARK-35041. Authored-by: ulysses-you <ulyssesyou18@gmail.com> Signed-off-by: Max Gekk <max.gekk@gmail.com> |
||
---|---|---|
.. | ||
main/java/org/apache/spark | ||
test |