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)
1 file changed
tree: 66019dc961caa29f7159258eb667f5dec61a8ee6
  1. asoc/
  2. config/
  3. dsp/
  4. include/
  5. ipc/
  6. soc/
  7. Android.mk
  8. Makefile
  9. Makefile.am
  10. NOTICE