diff options
author | Ofir Bitton <obitton@habana.ai> | 2020-07-30 14:56:38 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-08-22 12:47:57 +0300 |
commit | bc75be24fa88ef10eecaff2b2a9ada8189e5ab5d (patch) | |
tree | 67f7371a26f8724d9b541b0e2dfc220f389ea910 /drivers/misc/habanalabs/common/debugfs.c | |
parent | bf6d10963ed0db290e9aba05a97bfc4c72c7c0e4 (diff) | |
download | linux-bc75be24fa88ef10eecaff2b2a9ada8189e5ab5d.tar.xz |
habanalabs: validate packet id during CB parse
During command buffer parsing, driver extracts packet id
from user buffer. Driver must validate this packet id, since it is
being used in order to extract information from internal structures.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/common/debugfs.c')
0 files changed, 0 insertions, 0 deletions