summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-07-21 13:54:54 -0700
committerHemant Kumar <hemantk@codeaurora.org>2016-07-21 14:09:51 -0700
commitc24e9fe6143b12db1530dc3b0f791a381f0412d1 (patch)
treeaa53cacc2202e9580a0329da84b4845c81f60060 /tools/perf/scripts/python
parent9e4b3ba4afcff08bce320513610955391ab95806 (diff)
usb: dwc3: Fix NULL ptr dereference in ep disable ops
In RNDIS composition when windows PC is suspended RNDIS driver sends flow control enable which frees the trb pool of the RNDIS endpoints and trb pool pointer is set to NULL. When bus suspend happens RNDIS gsi driver performs endpoint disable operation because remote wake up is disabled. Endpoint disable perform memset 0 on trb pool which is already set to NULL causing the NULL pointer dereference. Fix this by adding NULL check for trb pool before doing memset 0. CRs-Fixed: 1044799 Change-Id: I2a233e85139be0612314e6fa3dfa1d1c0fa04547 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions