Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 119d0502 authored by Saket Saurabh's avatar Saket Saurabh
Browse files

usb: ehci-msm: Fix potential NULL pointer dereference



Pointer returned from call to function kzalloc may be NULL.
Hence add NULL check to prevent NULL pointer dereference.

Change-Id: I4f4c8a7816c15e19c0231eb889bf00190b2ba262
Signed-off-by: default avatarSaket Saurabh <ssaurabh@codeaurora.org>
parent 1ec33670
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment