commit | 86d124a2d3e5c523b53a0eb3060a8f16cf89d8ed | [log] [tgz] |
---|---|---|
author | Catena cyber <35799796+catenacyber@users.noreply.github.com> | Sat Jun 02 10:51:40 2018 +0200 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Sat Jun 02 16:51:40 2018 +0800 |
tree | 17d70579a73876c88b98d1ad3990653592540b7a | |
parent | 170904d5f1704efd89f3bc27072576971be2ab5b [diff] |
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