msm: vidc: Preventing dereference pointers and array
out of bounds

Preventing a dereference pointer, and adding logic to prevent
array out of bounds

Change-Id: I8b21e4cb25a3dbb13c907d84c7ea342a12eed468
Signed-off-by: Eduardo Carrasco <cecarras@codeaurora.org>
3 files changed