msm: vidc: avoid OOB write while accessing memory
Exclude 4 bytes which holds the size of the buffer while calculating
the actual buffer size to avoid OOB write.
Change-Id: I9a1fd99b66e581b33722193d39db9cacffba3fd2
Signed-off-by:
Sanjay Singh <sisanj@codeaurora.org>
Loading
Please register or sign in to comment