diff options
author | 2014-06-11 10:23:35 +0300 | |
---|---|---|
committer | 2014-08-15 13:51:40 +0200 | |
commit | a5fe8e7695dc3f547e955ad2b662e3e72969e506 (patch) | |
tree | 77d69bf50907fb36473a6f3c341dc06802e27a66 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'pm+acpi-3.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff) | |
download | linux-dev-a5fe8e7695dc3f547e955ad2b662e3e72969e506.tar.xz linux-dev-a5fe8e7695dc3f547e955ad2b662e3e72969e506.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions