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

Commit 69f0a80b authored by Arun Menon's avatar Arun Menon
Browse files

msm: vidc: Fix out of bound read access



The bool variable disable_htw passed to iommu_domain_set_attr(),
gets typecasted to int before being read in arm_smmu_domain_set_attr().
This results in an out of bound read access. Fix this issue by
defining disable_htw as an int.

Change-Id: I78b52c0b8c29d41948a8d621dada8866d904156b
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent 35afb780
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