]> Git Repo - qemu.git/commit
usb-redir: fix use-after-free
authorGerd Hoffmann <[email protected]>
Wed, 31 Jul 2013 09:17:58 +0000 (11:17 +0200)
committerGerd Hoffmann <[email protected]>
Thu, 1 Aug 2013 11:03:42 +0000 (13:03 +0200)
commita14ff8a650b5943ee6221b952494661f7cb3b5e2
tree7c675707d4fe4a4a76cc46f4d267910a34e4a9ba
parent75cc1c1fcba1987bdf3979c4289ab756c2b15742
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 <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/redirect.c
This page took 0.035125 seconds and 4 git commands to generate.