Skip to content
Commit 0eb0db78 authored by Mayank Rana's avatar Mayank Rana
Browse files

dwc3: Add NULL check before accessing event buffer



Event buffer may not been allocated or configured but software
may tried to deallocate or unconfigure same from EPROBE_DEFER
context which results into NULL pointer dereference. Fix this
issue by adding NULL check before accessing event buffer.

Change-Id: I1d6686e90e54ca17e8ee558f45378ce259eaaf53
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 04a47c9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment