commit | 44d029862a904451d34e30cd456fe8996c93deaf | [log] [tgz] |
---|---|---|
author | Chiranjeevi Velempati <cvelempa@codeaurora.org> | Sun Feb 17 22:09:08 2013 +0530 |
committer | Chiranjeevi Velempati <cvelempa@codeaurora.org> | Sun Feb 17 22:25:29 2013 +0530 |
tree | 1a12c1181447d26236b14853ca480cb27d101afe | |
parent | 60ffff4335486a24948eaceaa8d3222a7a5d6f95 [diff] |
usb: gadget: u_bam: Fix NULL pointer dereference crash port->port_usb could be NULL as part of assigning to in endpoint, so, check port->port_usb is valid before assigning the endpoint. CRs-Fixed: 451723 Change-Id: I00acc5e7a3ca2f47046908c345e4a0ed050fe122 Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>