Files
linux/drivers
Johannes Berg ff4dd73dd2 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
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>
2017-02-27 17:15:28 +01:00
..
2017-02-22 16:41:30 -08:00
2017-02-20 14:23:40 +01:00
2017-02-20 14:22:50 +01:00
2017-02-14 10:20:35 -08:00
2017-02-11 20:59:41 -05:00