OSDN Git Service

msm_vidc: Add checks to avoid OOB access(refined)
authorSanjay Singh <sisanj@codeaurora.org>
Wed, 25 Sep 2019 17:13:31 +0000 (22:43 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 26 Sep 2019 06:09:31 +0000 (23:09 -0700)
commitafa865d588196d0c08121ab18eace16a64e2ede0
tree2bc14da6ad93cb95748f382f17bd145c369ebc44
parentb7cf9142baa124670542f730ceef988abfe4d196
msm_vidc: Add checks to avoid OOB access(refined)

validate structures and payload sizes in the
packet against packet size to avoid OOB access.

Change-Id: I8a203a81506f603c2e37c1b2a780d3088e6933be
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
drivers/media/platform/msm/vidc/hfi_response_handler.c