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

Commit a2a80910 authored by Hemant Kumar's avatar Hemant Kumar Committed by Jack Pham
Browse files

sound: usb: Add NULL check on return value of iommu_domain_alloc()



Upon allocation failure iommu_domain_alloc() returns NULL.
Driver is not checking for NULL value, which leads to NULL
pointer dereference later.

Change-Id: I9788412af3a34aca8fa8519e7ae6f3349f263a1e
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 4304109d
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