Catena cyber 65c0be823c Fix undefined shifts (#1156)
* Fix undefined shifts

Found by oss-fuzz
uint8_t gets promoted to integer
and integers shift cannot overflow on sign bit

* Fix undefined shifts

shifting 31 bits the sign bit
2018-06-02 16:51:40 +08:00
..
2017-10-22 08:45:40 +08:00
2018-06-02 16:51:40 +08:00
2017-10-22 08:45:40 +08:00