aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2013-04-13 22:49:14 +0300
committerGerrit - the friendly Code Review server <code-review@localhost>2013-08-05 01:41:35 -0700
commit58ce9d5d09c794ad38fe4e973f7614cee79e680b (patch)
tree3caad3cd89b5795e60a94ca6c32c364c8e0951d6 /scripts/gcc-wrapper.py
parentafad29d6f9285ddf6d4c21e44818bfd5c6a67568 (diff)
perf: Treat attr.config as u64 in perf_swevent_init()
Trinity discovered that we fail to check all 64 bits of attr.config passed by user space, resulting to out-of-bounds access of the perf_swevent_enabled array in sw_perf_event_destroy(). Introduced in commit b0a873ebb ("perf: Register PMU implementations"). Signed-off-by: Tommi Rantala <tt.rantala@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: davej@redhat.com Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Ingo Molnar <mingo@kernel.org> Patch-mainline: linux-kernel @ 04/13/13, 19:49 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.com>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions