ASoC: msm-pcm-host-voice: Handle OOB access in hpcm_start
There is no error check for case when hpcm_start
is called for the same RX or TX tap points multiple times.
This can result in OOB access of struct vss_ivpcm_tap_point.
Handle this scenario with appropriate no_of_tp check.
Change-Id: Ib384d21c9bf372f3e5d78f64b5c056e836728399
Signed-off-by:
Soumya Managoli <quic_c_smanag@quicinc.com>
Loading
Please register or sign in to comment