summaryrefslogtreecommitdiffstats
path: root/gdbstub.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-07-31 11:17:58 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-08-01 13:03:42 +0200
commita14ff8a650b5943ee6221b952494661f7cb3b5e2 (patch)
tree7c675707d4fe4a4a76cc46f4d267910a34e4a9ba /gdbstub.c
parent75cc1c1fcba1987bdf3979c4289ab756c2b15742 (diff)
downloadhqemu-a14ff8a650b5943ee6221b952494661f7cb3b5e2.zip
hqemu-a14ff8a650b5943ee6221b952494661f7cb3b5e2.tar.gz
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 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud