ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm copy

Add check for the max hpcm_buf_node size before copy to avoid
buffer out of bounds issue.

Bug: 290061915
Change-Id: Ida4cd1b2f59a751458b10b9d53e50eb39f4e299c
Signed-off-by: Bubble Fang <bubblefang@google.com>
1 file changed