commit | da8c3a78b7202c33d0c557f65234fec79828ed95 | [log] [tgz] |
---|---|---|
author | Jeff Johnson <jjohnson@codeaurora.org> | Fri Jun 23 15:59:08 2017 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Jul 06 03:42:26 2017 -0700 |
tree | 4fec797d3325103e3d86949f304aeca902eb91c4 | |
parent | ddaf0489457fce1c182fdb2970a80de724fad458 [diff] |
wlan: Avoid overread when configuring MAC addresses Propagation from qcacld-2.0 to prima. Currently there are multiple cfg80211 vendor commands where MAC address attributes are defined in a nla_policy table with a type of NLA_UNSPEC but without a minimum length. Add the proper minimum length to avoid buffer overread. Change-Id: I11ff2bd813dc4e6784a7cdee66a0c10ca0e69fcf CRs-Fixed: 2065587