diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2019-05-22 19:24:43 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-05-27 08:04:12 +0300 |
commit | 03ecad90d3798be11b033248bbd4bbff4425a1c7 (patch) | |
tree | 96a116c3d313bc0712e21f41c9f7d55f8bd630d1 /mm/swap.c | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) | |
download | linux-03ecad90d3798be11b033248bbd4bbff4425a1c7.tar.xz |
soundwire: stream: fix out of boundary access on port properties
Assigning local iterator to array element and using it again for
indexing would cross the array boundary.
Fix this by directly referring array element without using the local
variable.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions