[patch] staging: wilc1000: off by one in get_handler_from_id()

2015-09-15 Thread Dan Carpenter
The > should be >= here or we read beyond the end of the array. Fixes: d42ab0838d04 ('staging: wilc1000: use id value as argument') Signed-off-by: Dan Carpenter diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index

Re: [patch] staging: wilc1000: off by one in get_handler_from_id()

2015-09-15 Thread johnny . kim
Hello Dan. On 2015년 09월 15일 15:54, Dan Carpenter wrote: The > should be >= here or we read beyond the end of the array. You are right. :) Thanks a lot. Johnny. Fixes: d42ab0838d04 ('staging: wilc1000: use id value as argument') Signed-off-by: Dan Carpenter diff