Johannes Berg 0b9f26e97f regulatory: add NUL to request alpha2
[ Upstream commit 657308f73e674e86b60509a430a46e569bf02846 ]

Similar to the ancient commit a5fe8e7695dc ("regulatory: add NUL
to alpha2"), add another byte to alpha2 in the request struct so
that when we use nla_put_string(), we don't overrun anything.

Fixes: 73d54c9e74c4 ("cfg80211: add regulatory netlink multicast group")
Reported-by: Kees Cook <keescook@google.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:52:01 +02:00
..
2017-07-11 06:08:58 -04:00
2017-08-31 14:42:19 -07:00
2017-06-15 12:12:40 -04:00
2018-02-22 15:42:23 +01:00
2018-05-16 10:10:23 +02:00
2018-02-25 11:07:59 +01:00
2018-02-22 15:42:23 +01:00