[U-Boot] [PATCH 0/8] Fix some coverity warnings

Simon Glass sjg at chromium.org
Sat Jun 9 18:22:26 UTC 2018


This series attempts to fix various problems reported by Coverity, in
subsystems where I have some knowledge.


Simon Glass (8):
  log: Fix incorect range check in log_get_cat_name()
  console: Fix handling of NULL global_data
  sandbox: Use memcpy() to move overlapping regions
  fdtgrep: Fix logic of free() in do_fdtgrep()
  fdtgrep: Separate out checking of two allocations
  rsa: Fix missing memory leak on error in fdt_add_bignum()
  spi: sandbox: Fix memory leak in sandbox_sf_bind_emul()
  sandbox: swap_case: Increase number of base address regs

 arch/sandbox/cpu/os.c     |  3 ++-
 common/console.c          |  8 ++++++--
 common/log.c              |  2 +-
 drivers/misc/swap_case.c  |  2 +-
 drivers/mtd/spi/sandbox.c |  6 +++---
 lib/rsa/rsa-sign.c        |  4 +---
 tools/fdtgrep.c           | 15 ++++++++++-----
 7 files changed, 24 insertions(+), 16 deletions(-)

-- 
2.18.0.rc1.242.g61856ae69a-goog



More information about the U-Boot mailing list