summary refs log tree commit diff stats
path: root/net/socket.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 /net/socket.c
parentfae38221e78fc9f847965f6d18b359b8044df348 (diff)
downloadfocaccia-qemu-a9be76576e375a994bbcea0a5eb2a3852969de0e.tar.gz
focaccia-qemu-a9be76576e375a994bbcea0a5eb2a3852969de0e.zip
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 'net/socket.c')
0 files changed, 0 insertions, 0 deletions