[Skiboot] [PATCH 0/9] Coverity fixes

Cyril Bur cyril.bur at au1.ibm.com
Mon Mar 19 15:54:11 AEDT 2018


Coverity is back everyone! It found some more stuff.

I the last patch removes FIXMEs. They MAY have been caused by 8/9. I
can't test it nor do I know the code well enough to be sure. Feel to
free to drop the last patch on the floor!

Cyril Bur (9):
  occ-sensors: Remove NULL checks after dereference
  npu2: Fix possible NULL dereference
  npu2-opencapi: Fix memory leak
  libstb/create-container: munmap() signature file address
  fast-reboot: occ: Only delete /ibm,opal/power-mgt nodes if they exist
  hw/imc: Don't dereference possible NULL
  p9_stop_api: Only update SCOM restore entry if there is an entry
  dts: Zero struct to avoid using uninitialised value
  [RFC] dts: Possible FIX for set trip bits

 hw/dts.c                  | 19 ++-----------------
 hw/imc.c                  |  3 ++-
 hw/npu2-opencapi.c        |  2 +-
 hw/npu2.c                 |  9 ++++++---
 hw/occ-sensor.c           |  4 ++--
 hw/occ.c                  | 12 +++++++-----
 libpore/p9_stop_api.C     |  2 +-
 libstb/container.h        |  4 ++--
 libstb/create-container.c | 36 +++++++++++++++++++-----------------
 9 files changed, 42 insertions(+), 49 deletions(-)

-- 
2.16.2



More information about the Skiboot mailing list