Skip to content
Commit 6ae9ac0b authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: off by one in get_handler_from_id()



The > should be >= here or we read beyond the end of the array.

Fixes: d42ab083 ('staging: wilc1000: use id value as argument')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6de9a2e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment