summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorOle Bjoern Midtboe <omidtbo@cisco.com>2020-08-31 02:34:03 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2020-09-15 02:26:34 -0400
commit8d0f7dcdc17f692894c11684c8cfb672d6881492 (patch)
treea0e4ccea06c7d8a66530565cd56c2ff89de9678d /include/linux
parent279720fd2a465de375be15758411ef697317037a (diff)
tegra: camera: handle no matching csi channel
If no match was found in csi_device->csi_chans, csi_chan was set incorrectly leading to write out-of-bounds. Instead move the assignments inside check for match. Bug 3101058 Change-Id: I4efbfd1918b53eccd87f64534175a3e21df72a60 Signed-off-by: Jeremy Ho <jeremyh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2406329 Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com> Reviewed-by: Ken Chang <kenc@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Phoenix Jung <pjung@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions