diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-22 12:52:42 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:27:19 +0200 |
commit | ba60e727b0a824baa1762264be5ef67dc30a6bac (patch) | |
tree | 7a970da823adaa8cd57072c6ea1f4dca495c8f4b /qmp.c | |
parent | 2c9bf30bdf1e17b340c9e5e70923cf76c9e66d9e (diff) | |
download | qemu-ba60e727b0a824baa1762264be5ef67dc30a6bac.tar.gz qemu-ba60e727b0a824baa1762264be5ef67dc30a6bac.tar.bz2 qemu-ba60e727b0a824baa1762264be5ef67dc30a6bac.zip |
char: remove use-after-free on win-stdio
Found by reviewing the code, win_stdio_close() is called by
qemu_chr_free() which then call qemu_chr_free_common() taking care of
freeing CharDriverState*.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qmp.c')
0 files changed, 0 insertions, 0 deletions