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

Commit 841fe8d5 authored by Prakash Gupta's avatar Prakash Gupta Committed by Gerrit - the friendly Code Review server
Browse files

iommu: arm-smmu: Fix domain logger use-after-free



smmu_domain logger is freed as part of error handling in
arm_smmu_init_domain_context.  But smmu_domain->logger is still non null.
This cause smmu_domain->logger to be accessed during domain free.  Fix
this.

Fixes: f1746fc8a009 ("iommu: qti: Track iommu domains")
Change-Id: I82a7f9121b78ca9338d202694dbc0a98150f0c92
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
parent 333b4ccb
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