summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-spi.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2020-07-12 23:34:57 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2020-07-19 08:15:36 +0300
commitcea7a0449ea3fa4883bf5dc8397f000d6b67d6cd (patch)
treeeabadfa2f4bb3c8eefe64c11e803ad5fd7d4c015 /drivers/spi/spi-fsl-spi.c
parentb279b1fe5799cf653de3822ca253f5d21639d90a (diff)
downloadlinux-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