[patch v2] ath10k: add some sanity checks

Valo, Kalle kvalo at qca.qualcomm.com
Tue Apr 19 08:47:53 PDT 2016


Dan Carpenter <dan.carpenter at oracle.com> writes:

> Smatch complains that since "ev->peer_id" comes from skb->data that
> means we can't trust it and have to do a bounds check on it to prevent
> an array overflow.
>
> Fixes: 6942726f7f7b ('ath10k: add fast peer_map lookup')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Applied, thanks.

-- 
Kalle Valo


More information about the ath10k mailing list