dsp: q6voice: Check size of shared memory buffer before access

Check buffer size in qdsp_cvs_callback before access in
ul_pkt.

Issue: SEC-2000
Bug: 132171785
Change-Id: Ic19994b46086709231656ec747d2df988b7a512f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
(cherry picked from commit 2d7c9b13e68cbfa6940633499b4ee7772fab74ec)
1 file changed