From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMwjn-00080J-Cn for qemu-devel@nongnu.org; Tue, 12 Jul 2016 08:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMwjl-000811-Dx for qemu-devel@nongnu.org; Tue, 12 Jul 2016 08:24:30 -0400 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:58269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMwjl-00080n-7E for qemu-devel@nongnu.org; Tue, 12 Jul 2016 08:24:29 -0400 From: Peter Maydell Date: Tue, 12 Jul 2016 13:02:11 +0100 Message-Id: <1468324939-12221-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/8] linux-user: fix various coverity nits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org, Riku Voipio , Paolo Bonzini This patchset fixes a bunch of minor bugs spotted by Coverity. (With these I think the only remaining Coverity issue for linux-user is that it would prefer us not to call rand(). That is awkward to fix because we can't rely on /dev/urandom existing inside chroot environments where QEMU might be deployed.) thanks -- PMM Peter Maydell (8): linux-user: Pass missing MAP_ANONYMOUS to target_mmap() call linux-user: Check lock_user() return value for NULL linux-user: Fix incorrect use of host errno in do_ioctl_dm() linux-user: Fix error handling in flatload.c target_pread() linux-user: Don't write off end of new_utsname buffer linux-user: Check dump_write() return in elf_core_dump() linux-user: Use glib malloc functions in load_symbols() linux-user: Fix memchr() argument in open_self_cmdline() linux-user/elfload.c | 20 +++++++++++--------- linux-user/flatload.c | 6 ++++++ linux-user/syscall.c | 21 ++++++++++++++++----- 3 files changed, 33 insertions(+), 14 deletions(-) -- 1.9.1