tegra:nvavp: Fix buffer overflow issue
authorPraveen Kumar Reddy M.V <pkreddy@nvidia.com>
Mon, 13 Jun 2016 11:38:32 +0000 (16:38 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Wed, 7 Sep 2016 04:36:39 +0000 (21:36 -0700)
commitcd9b8bf34e7d601896c8c019b956feddf56871d6
tree70fa15e40a23907b758f4d306ba701d3a9f12a70
parent70ae2d44a04c5a3cd5b036d5a5181ddce5cd5fc8
tegra:nvavp: Fix buffer overflow issue

Fixed possible buffer overflow issue in func
nvavp_pushbuffer_update().

Bug 1774401

Change-Id: Id0dec1cbf91d492335d0809c3c0bf146f6cb9d3d
Signed-off-by: Praveen Kumar Reddy M.V. <pkreddy@nvidia.com>
Reviewed-on: http://git-master/r/1163365
(cherry picked from commit 1e9ba50b225e841b52a93503fce818c1a21100f7)
Reviewed-on: http://git-master/r/1164130
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
drivers/media/platform/tegra/nvavp/nvavp_dev.c