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:
Arun Menon <avmenon@codeaurora.org>
Loading
Please register or sign in to comment