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: I5471fabc3652a942797019c5beb06d17a713b079
Signed-off-by:
Dikshita Agarwal <dikshita@codeaurora.org>
Loading
Please register or sign in to comment