diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2020-07-12 23:34:57 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-07-19 08:15:36 +0300 |
commit | cea7a0449ea3fa4883bf5dc8397f000d6b67d6cd (patch) | |
tree | eabadfa2f4bb3c8eefe64c11e803ad5fd7d4c015 /drivers/spi/spi-fsl-spi.c | |
parent | b279b1fe5799cf653de3822ca253f5d21639d90a (diff) | |
download | linux-cea7a0449ea3fa4883bf5dc8397f000d6b67d6cd.tar.xz |
habanalabs: prevent possible out-of-bounds array access
Queue index is received from the user. Therefore, we must validate it
before using it to access the queue props array.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
0 files changed, 0 insertions, 0 deletions