summaryrefslogtreecommitdiffstats
path: root/hw/ide/core.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-11-17 11:57:23 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-17 18:02:31 +0100
commita9be76576e375a994bbcea0a5eb2a3852969de0e (patch)
treebb348d7541b01621b68375a4a84dcac0eb2c966f /hw/ide/core.c
parentfae38221e78fc9f847965f6d18b359b8044df348 (diff)
downloadhqemu-a9be76576e375a994bbcea0a5eb2a3852969de0e.zip
hqemu-a9be76576e375a994bbcea0a5eb2a3852969de0e.tar.gz
hcd-musb: fix dereference null return value
usb_ep_get and usb_handle_packet can deal with a NULL device, but we have to avoid dereferencing NULL pointers when building the id. Thanks to Gonglei for an initial stab at fixing this. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ide/core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud