kszucs commented on pull request #7341:
URL: https://github.com/apache/arrow/pull/7341#issuecomment-639123573


   The `(uint16 * uint16)` operation triggers the following ubsan error:
   ```
   runtime error: signed integer overflow: 65535 * 65535 cannot be represented 
in type 'int'
   ```
   
   According to this [SO 
post](https://stackoverflow.com/questions/24371868/why-must-a-short-be-converted-to-an-int-before-arithmetic-operations-in-c-and-c)
 we might need a special case for uint16 (or perhaps it depends on the arch) 
multiplication. 


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to