Tom Tung
46fd8d942c
Cast type before the left shift
...
Building ipmitool with UBSAN and I got:
```
...
xxx/ipmitool/include/ipmitool/helper.h:191:14: runtime error: left shift of 160
by 24 places cannot be represented in type 'int'
#0 0x55bddaa56f11 in ipmi32toh
xxx/ipmitool/include/ipmitool/helper.h:191:14
```
Tested: with this, I tested ipmitool again and the issue disappeared.
Resolved : ipmitool/ipmitool#352
Signed-off-by: Tom Tung <shes050117@gmail.com>
2022-08-28 20:23:25 +03:00
..
2021-04-08 11:29:25 +03:00
2022-08-28 20:23:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-09-15 16:39:55 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-07-14 15:27:00 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-27 08:36:58 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2022-03-09 17:39:45 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2021-04-08 11:29:25 +03:00
2020-06-30 15:51:31 +03:00