qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] slirp: fix 3 easy coverity warnings
@ 2017-02-04 23:08 Peter Maydell
  2017-02-04 23:08 ` [Qemu-devel] [PATCH 1/3] slirp: Check qemu_socket() return value in udp_listen() Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Maydell @ 2017-02-04 23:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: patches, Samuel Thibault, Jan Kiszka

This patchset fixes three easy-to-fix coverity warnings in the slirp
code (there are another 5 or so which are not quite so simple).

As usual, the preexisting tab-indent style for a lot of the slirp
code is well out of line with the QEMU/checkpatch preferences.
I opted to generally use QEMU style for the new lines but this
does look a bit of a mess in some ways; happy to adjust per
slirp maintainer preferences.

thanks
-- PMM

Peter Maydell (3):
  slirp: Check qemu_socket() return value in udp_listen()
  slirp: Convert mbufs to use g_malloc() and g_free()
  slirp: tcp_listen(): Don't try to close() an fd we never opened

 slirp/mbuf.c   | 30 ++++++++++++++----------------
 slirp/socket.c |  4 +++-
 slirp/udp.c    |  4 ++++
 3 files changed, 21 insertions(+), 17 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2017-02-11  4:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-04 23:08 [Qemu-devel] [PATCH 0/3] slirp: fix 3 easy coverity warnings Peter Maydell
2017-02-04 23:08 ` [Qemu-devel] [PATCH 1/3] slirp: Check qemu_socket() return value in udp_listen() Peter Maydell
2017-02-11  4:15   ` Philippe Mathieu-Daudé
2017-02-04 23:08 ` [Qemu-devel] [PATCH 2/3] slirp: Convert mbufs to use g_malloc() and g_free() Peter Maydell
2017-02-11  4:15   ` Philippe Mathieu-Daudé
2017-02-04 23:08 ` [Qemu-devel] [PATCH 3/3] slirp: tcp_listen(): Don't try to close() an fd we never opened Peter Maydell
2017-02-11  4:15   ` Philippe Mathieu-Daudé

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).