Alexander Amelkin
12e2f5da63
sdr: Fix segfault on invalid unit types
...
The program would crash if the BMC returned an out of range (>90)
unit type for a full sensor record. This commit adds a range check
and also add support for IPMI 2.0 additional unit types 91 and 92
("fatal error" and "grams").
Resolves ipmitool/ipmitool#118
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
2019-05-27 15:38:23 +03:00
..
2018-03-30 02:33:35 +03:00
2018-08-21 17:30:25 +03:00
2018-11-11 14:55:43 +03:00
2016-04-11 17:18:40 +02:00
2018-08-21 17:30:25 +03:00
2018-11-01 19:29:45 +03:00
2018-11-07 18:11:58 +03:00
2019-02-21 13:58:18 +03:00
2018-11-23 16:41:06 +03:00
2018-11-23 16:41:06 +03:00
2018-08-21 17:30:25 +03:00
2018-08-21 17:30:25 +03:00
2019-02-13 21:28:14 +03:00
2018-08-21 17:30:25 +03:00
2018-11-23 16:41:06 +03:00
2019-01-24 15:22:21 +03:00
2018-08-21 17:30:25 +03:00
2018-08-21 17:30:25 +03:00
2018-11-23 16:41:06 +03:00
2018-08-21 17:30:25 +03:00
2018-11-23 16:41:06 +03:00
2018-11-11 14:55:43 +03:00
2019-03-04 12:22:23 +03:00
2018-11-23 16:41:06 +03:00
2019-04-01 18:00:31 +03:00
2018-11-23 16:41:06 +03:00
2018-08-21 17:30:25 +03:00
2018-08-21 17:30:25 +03:00
2019-05-27 15:38:23 +03:00
2018-11-11 14:55:43 +03:00
2018-11-23 16:41:06 +03:00
2018-11-11 14:55:43 +03:00
2018-08-21 17:30:25 +03:00
2018-12-28 16:33:18 +03:00
2019-04-17 16:01:11 +03:00
2018-08-21 17:30:25 +03:00
2018-11-07 18:50:10 +03:00
2018-08-21 17:30:25 +03:00
2018-08-21 17:30:25 +03:00
2018-11-23 16:41:06 +03:00
2018-08-21 17:30:25 +03:00
2018-11-07 18:11:58 +03:00