qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/8] linux-user: fix various coverity nits
@ 2016-07-12 12:02 Peter Maydell
  2016-07-12 12:02 ` [Qemu-devel] [PATCH 1/8] linux-user: Pass missing MAP_ANONYMOUS to target_mmap() call Peter Maydell
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Peter Maydell @ 2016-07-12 12:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: patches, 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-12 14:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12 12:02 [Qemu-devel] [PATCH 0/8] linux-user: fix various coverity nits Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 1/8] linux-user: Pass missing MAP_ANONYMOUS to target_mmap() call Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 2/8] linux-user: Check lock_user() return value for NULL Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 3/8] linux-user: Fix incorrect use of host errno in do_ioctl_dm() Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 4/8] linux-user: Fix error handling in flatload.c target_pread() Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 5/8] linux-user: Don't write off end of new_utsname buffer Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 6/8] linux-user: Check dump_write() return in elf_core_dump() Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 7/8] linux-user: Use glib malloc functions in load_symbols() Peter Maydell
2016-07-12 12:02 ` [Qemu-devel] [PATCH 8/8] linux-user: Fix memchr() argument in open_self_cmdline() Peter Maydell
2016-07-12 14:47 ` [Qemu-devel] [PATCH 0/8] linux-user: fix various coverity nits Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).