diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-07-31 11:17:58 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-08-01 13:03:42 +0200 |
commit | a14ff8a650b5943ee6221b952494661f7cb3b5e2 (patch) | |
tree | 7c675707d4fe4a4a76cc46f4d267910a34e4a9ba /hw/usb/host-libusb.c | |
parent | 75cc1c1fcba1987bdf3979c4289ab756c2b15742 (diff) |
usb-redir: fix use-after-free
Reinitialize dev->cs to NULL after deleting it, to make sure it isn't
used afterwards.
Reported-by: Martin Cerveny <M.Cerveny@computer.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/host-libusb.c')
0 files changed, 0 insertions, 0 deletions