diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-10 08:23:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-26 20:33:18 -0400 |
commit | 0b56d1c8fd8991b0ae5255151c54ed20deb49a28 (patch) | |
tree | 866a26066ffbabb3254bd8da73ccb0b2be29981a /drivers/media/pci | |
parent | ceb25b3cf622f439f3c1c8e321fd5c35efe79e97 (diff) | |
download | talos-op-linux-0b56d1c8fd8991b0ae5255151c54ed20deb49a28.tar.gz talos-op-linux-0b56d1c8fd8991b0ae5255151c54ed20deb49a28.zip |
media: staging: atomisp: fix bounds checking in mt9m114_s_exposure_selection()
These clamp_t() calls are no-ops because we don't save the results. It
leads to an array out of bounds bug.
Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions