commit | f89f4b52cecdf60a02bd9388fbe73f9c96058df1 | [log] [tgz] |
---|---|---|
author | Jeff Johnson <jjohnson@qca.qualcomm.com> | Wed Mar 27 10:32:44 2013 -0700 |
committer | Gopichand Nakkala <gnakkala@qca.qualcomm.com> | Mon Apr 01 14:59:08 2013 -0700 |
tree | 06c91e01ddd79afd58e2b868ca0660ac15b32594 | |
parent | f77ef0aae350ab0825a315ff20ad970012342b9b [diff] |
wlan: validate key length passed to sme_RoamSetKey() Static source code analysis identified an issue where the key length being passed to sme_RoamSetKey() was not being validated. As a result the operations used to display and copy the key could result in a buffer overflow. To prevent buffer overflow add logic to validate the key length before using it to display or copy the key. Change-Id: I4e5fadd2d65e069f8a61ef5bf99b157ffa0ee98b