diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-17 11:57:23 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-17 18:02:31 +0100 |
| commit | a9be76576e375a994bbcea0a5eb2a3852969de0e (patch) | |
| tree | bb348d7541b01621b68375a4a84dcac0eb2c966f /net/socket.c | |
| parent | fae38221e78fc9f847965f6d18b359b8044df348 (diff) | |
| download | focaccia-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