summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-27 17:15:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-21 17:09:04 +0200
commit3e8c1a04d33500957fe1409ddf5cf11b52b7f6ed (patch)
treed21ee34d33ee7b29c234036ce8e03efbc79f5afb /tools/perf/scripts/python/bin
parent4a464dacc23fdbcdce25ee8210da0b349cd32585 (diff)
mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
[ Upstream commit ff4dd73dd2b4806419f8ff65cbce11d5019548d0 ] Unfortunately, the nla policy was defined to have HWSIM_ATTR_RADIO_NAME as an NLA_STRING, rather than NLA_NUL_STRING, so we can't use it as a NUL-terminated string in the kernel. Rather than break the API, kasprintf() the string to a new buffer to guarantee NUL termination. Reported-by: Andrew Zaborowski <andrew.zaborowski@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions