summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-06-11 11:23:35 +0400
committerJohannes Berg <johannes.berg@intel.com>2014-08-15 15:51:40 +0400
commita5fe8e7695dc3f547e955ad2b662e3e72969e506 (patch)
tree77d69bf50907fb36473a6f3c341dc06802e27a66 /net/mac80211
parentc9d26423e56ce1ab4d786f92aebecf859d419293 (diff)
downloadlinux-a5fe8e7695dc3f547e955ad2b662e3e72969e506.tar.xz
regulatory: add NUL to alpha2
alpha2 is defined as 2-chars array, but is used in multiple places as string (e.g. with nla_put_string calls), which might leak kernel data. Solve it by simply adding an extra char for the NULL terminator, making such operations safe. Cc: stable@vger.kernel.org Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions