qdsp6v2: apr: check for packet size to header size comparison

Check if packet size is large enough to hold the header.

Issue: SEC-2002
Bug: 132172905
Change-Id: I7261f8111d8b5f4f7c181e469de248a732242d64
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
(cherry picked from commit e467231c2fe685debed9ee0a0b112c5c344d7f29)
1 file changed