habanalabs: prevent possible out-of-bounds array access
[ Upstream commit cea7a044 ] 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> Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
15692a52
Please register or sign in to comment