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-11-01 19:29:45 +03:00
2018-11-07 18:11:58 +03:00
2019-02-21 13:58:18 +03:00
2019-02-13 21:28:14 +03:00
2018-11-23 16:41:06 +03:00
2019-03-04 12:22:23 +03:00
2018-08-21 17:30:25 +03:00
2018-11-07 18:11:58 +03:00