commit | e00c7d68e5b1566cda33f9d36e0109a9fa5602de | [log] [tgz] |
---|---|---|
author | tmamatha <quic_tmamatha@quicinc.com> | Sun May 28 23:01:37 2023 -0700 |
committer | Prashantsinh Parmar <prashantsinh.parmar@fairphone.partners> | Fri Feb 02 06:34:15 2024 +0100 |
tree | 66019dc961caa29f7159258eb667f5dec61a8ee6 | |
parent | 743e07b33b1d6c43545f0c8eadffbb7549bf6e78 [diff] |
ASoC: msm-pcm-voip: Avoid interger underflow. There is no check for voip pkt pkt_len,if it contains the min required data. This can lead to integer underflow. Add check for the same. Issue: FP3SEC-1134 Change-Id: I4f57eb125967d52ad8da60d21a440af1f81d2579 Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com> (cherry picked from commit 1c236fc34f7ac70bc9794245c19cb3deb240d215) (cherry picked from commit 9fd4f45cbc464383fb4f99de09189a6b54211db7)