aboutsummaryrefslogtreecommitdiff
path: root/drivers/tee/amdtee
diff options
context:
space:
mode:
authorPeiyang Wang <wangpeiyang1@huawei.com>2024-08-13 22:10:23 +0800
committerPaolo Abeni <pabeni@redhat.com>2024-08-15 13:07:08 +0200
commit86db7bfb06704ef17340eeae71c832f21cfce35c (patch)
treeacc36b149a04ab6aa75c6aa313a291fbdcfe8153 /drivers/tee/amdtee
parentbe5e816d00a506719e9dbb1a9c861c5ced30a109 (diff)
net: hns3: void array out of bound when loop tnl_num
When query reg inf of SSU, it loops tnl_num times. However, tnl_num comes from hardware and the length of array is a fixed value. To void array out of bound, make sure the loop time is not greater than the length of array Signed-off-by: Peiyang Wang <wangpeiyang1@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/tee/amdtee')
0 files changed, 0 insertions, 0 deletions