Skip to content
Commit 59f73e2a authored by Amitkumar Karwar's avatar Amitkumar Karwar Committed by Kalle Valo
Browse files

rsi: check length before USB read/write register



These checks are required. Otherwise we may end up getting
memory corruption if invalid length is passed.

Fixes: b97e9b94 ("rsi: Add new host interface operations")
Signed-off-by: default avatarAmitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 523b724a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment