Also avoid undefined behaviour caused by signed integer overflow.
Reporter: Krisztian Szucs / @kszucs
Assignee: Krisztian Szucs / @kszucs
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-9042. Please see the migration documentation for further details.