From: Simon Glass Date: Sat, 9 Jun 2018 12:22:26 -0600 Subject: [U-Boot] [PATCH 0/8] Fix some coverity warnings Message-ID: <20180609182235.33532-1-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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