jmestwa-coder opened a new pull request, #50035:
URL: https://github.com/apache/arrow/pull/50035
A far-future ORC timestamp (after ~2262) makes `AppendTimestampBatch` in
cpp/src/arrow/adapters/orc/util.cc overflow int64 nanoseconds in `seconds *
kOneSecondNanos + nanos`. Reducing the multiply under
-fsanitize=signed-integer-overflow:
runtime error: signed integer overflow:
10000000000 * 1000000000 cannot be represented in type 'int64_t'
Detect it with MultiplyWithOverflow/AddWithOverflow and return
Status::Invalid for out-of-range values.
--
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]