[Qemu-devel] [PATCH 0/3] char-socket: Fix race condition

Alberto Garcia posted 3 patches 5 years, 2 months ago
Test docker-mingw@fedora passed
Test asan failed
Test checkpatch passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1549545591.git.berto@igalia.com
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
chardev/char-pty.c       |  8 ++------
chardev/char-socket.c    | 19 +++++++++++++++++--
include/qemu/main-loop.h |  8 ++++++++
io/task.c                |  6 ++----
util/main-loop.c         |  9 +++++++++
5 files changed, 38 insertions(+), 12 deletions(-)
[Qemu-devel] [PATCH 0/3] char-socket: Fix race condition
Posted by Alberto Garcia 5 years, 2 months ago
Hi,

this series fixes the crash I reported yesterday in char-socket and
adds a new qemu_idle_add() function, fixing a couple of memory leaks
along the way.

Regards,

Berto

Alberto Garcia (3):
  main-loop: Don't leak GSources attached to a GMainContext
  main-loop: Add qemu_idle_add()
  char-socket: Lock tcp_chr_disconnect() and socket_reconnect_timeout()

 chardev/char-pty.c       |  8 ++------
 chardev/char-socket.c    | 19 +++++++++++++++++--
 include/qemu/main-loop.h |  8 ++++++++
 io/task.c                |  6 ++----
 util/main-loop.c         |  9 +++++++++
 5 files changed, 38 insertions(+), 12 deletions(-)

-- 
2.11.0