summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_scale.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-08-28 13:55:26 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-11 21:12:53 -0400
commite68391690cfcc23b77c68aec3f9605badea226ed (patch)
treeea4c2ea6ae0b0d841bbb97d83e8e19cf29fdcd49 /drivers/gpu/nvgpu/gk20a/gk20a_scale.c
parent65f18d74ee8e84ef18866811472f47f86cac1030 (diff)
gpu: nvgpu: Validate buffer_offset argument
Validate the mapping_size argument in the VM mapping IOCTL before attempting to use the argument for anything. Bug 1954931 Change-Id: I81b22dc566c6c6f89e5e62604ce996376b33a343 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1547046 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_scale.c')
0 files changed, 0 insertions, 0 deletions