arib06 opened a new pull request, #3896:
URL: https://github.com/apache/avro/pull/3896

   cast each 7-bit group in read_long (and the big-endian float/double byte 
assembly) to unsigned before shifting, so a 10-byte long whose final byte sets 
bit 63 no longer left-shifts a signed value into the sign bit (UBSAN: left 
shift of 1 by 63 places in int64_t), matching the unsigned accumulation the C++ 
decoder already uses.


-- 
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]

Reply via email to