commit | 86aa7c1efc63e0969dee575ac9e021dbcbaa95c3 | [log] [tgz] |
---|---|---|
author | Pandiyarajan Pitchaimuthu <c_ppitch@qca.qualcomm.com> | Fri Sep 21 20:11:46 2012 +0530 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Wed Oct 24 11:49:55 2012 +0300 |
tree | bcf73adfa16c0ab75ec3b62d9a61ef17baaef469 | |
parent | 698bf867d0d3b5669c4e85b29d2a44043a2c5c99 [diff] |
ath6kl: Array index out of bounds check The variable assigned_ep can be assigned value of -1 and is never checked if it equals -1. So the endpoint array can have -1 as the index value and can be out of bounds. The value of assigned_ep is checked for -1 and is ensured that the endpoint array doesn't go out of bounds. Signed-off-by: Pandiyarajan Pitchaimuthu <c_ppitch@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>