more klocwork critical defects
more klocwork critical defects

Signed-off-by: Maciej Plucinski <c5f0a4690f61cb8cad5ee88c0b46b20fba40561c@intel.com>
Signed-off-by: Juston Li <bae026f5770cdcf7038fd1a163b858ba9af8c79f@intel.com>

intel/ipmctl,intel/ipmctl,intel/ipmctl,intel/ipmctl