aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/string.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <amit.karwar@redpinesignals.com>2017-07-11 19:57:52 +0530
committerKalle Valo <kvalo@codeaurora.org>2017-07-28 17:27:19 +0300
commit59f73e2ae185a6ab5c40f63657a83192bf054fb4 (patch)
treea3eda328f17b242d230d634be96acabf6d28e721 /tools/lib/string.c
parent523b724a769b69963ef46efa14b8b730b40419d5 (diff)
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: b97e9b94ad75c ("rsi: Add new host interface operations") Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/lib/string.c')
0 files changed, 0 insertions, 0 deletions