commit | a7acc98b0d0da9bcccd6bd5cf0631f6d72ef35a4 | [log] [tgz] |
---|---|---|
author | Jeff Johnson <jjohnson@codeaurora.org> | Mon Jun 19 14:52:52 2017 -0700 |
committer | snandini <snandini@codeaurora.org> | Mon Jun 26 19:34:12 2017 -0700 |
tree | 04838b4977c8d0ca4cd4daf06f384eb1a1933545 | |
parent | be379457e6d82bbc7e7bcf13e8e8d31bf2411f02 [diff] |
qcacmn: Properly validate QCA_WLAN_VENDOR_ATTR_NDP_IFACE_STR Currently the QCA_WLAN_VENDOR_ATTR_NDP_IFACE_STR nla_policy specifies a type of NLA_STRING, but the underlying implementation expects a NUL-terminated string. Update the policy to correctly use a type of NLA_NUL_STRING with the len updated to remove the allocation needed for the terminating NUL. Change-Id: Ic73241511ab73ae63fd7c1a8d6422da91931919c CRs-Fixed: 2063588