ipmi plugin: Fix for segmentation fault for wrong data type in Sensor section.
authorMariusz Szafranski <mariuszx.szafranski@intel.com>
Thu, 29 Mar 2018 08:45:46 +0000 (09:45 +0100)
committerMariusz Szafranski <mariuszx.szafranski@intel.com>
Wed, 16 May 2018 09:51:09 +0000 (10:51 +0100)
commita73e5d6532bed1216e86af5c15b0acd9fb555026
tree2d4e4595668ac3d0864f6d0491c8481e099a56f0
parent9fa98875d6cf81b20c03156ccaf7f081dfa7d1a5
ipmi plugin: Fix for segmentation fault for wrong data type in Sensor section.

Incorrect, malicious data in the Sensor section can cause a segmentation fault.
Error message is generated instead of crash after applying this patch.

Change-Id: Ibc387b5594f9453f1fc957ed37ceb09cfa34ded5
Signed-off-by: Mariusz Szafranski <mariuszx.szafranski@intel.com>
src/ipmi.c