OSDN Git Service

dsp: q6voice: Check size of shared memory buffer before access
authorVatsal Bucha <vbucha@codeaurora.org>
Tue, 5 Mar 2019 10:30:21 +0000 (16:00 +0530)
committerVatsal Bucha <vbucha@codeaurora.org>
Tue, 5 Mar 2019 12:07:18 +0000 (17:37 +0530)
commitdb3b23f94285456b856e6dfd84d13133760419f4
treed7f6ab238b1fc8bba3376286b4af6f7a34c646f7
parent8e9ed04da37e19dc8523e9a11f13cc0c5d1a072d
dsp: q6voice: Check size of shared memory buffer before access

Check buffer size in qdsp_cvs_callback before access in
ul_pkt.

Change-Id: Ic19994b46086709231656ec747d2df988b7a512f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
sound/soc/msm/qdsp6v2/q6voice.c