commit | 72c1c06d91c54beee35613434a5efdd7e8909302 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Feb 27 08:13:45 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 11 09:47:13 2013 -0700 |
tree | 3201360606bb541f3829a5d0516a68b48bfc632f | |
parent | a0cdd2e4a96a253c83e8d7856e39b9807805c6c4 [diff] |
wlan-ng: add a bounds check I'm not sure where these results come from, but it can't hurt to add a sanity check the array offset. The .results[] array on the next line has HFA384x_CHINFORESULT_MAX (16) elements. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>