summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2024-03-01 03:18:24 +0300
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2024-03-01 03:18:24 +0300
commit6572786006fa96ad2c35bb31757f1f861298093b (patch)
tree4e8e831e71951573c20caeaf5ab23843027db60a /tools/perf/scripts/python/export-to-postgresql.py
parentb401b621758e46812da61fa58a67c3fd8d91de0d (diff)
downloadlinux-6572786006fa96ad2c35bb31757f1f861298093b.tar.xz
fprobe: Fix to allocate entry_data_size buffer with rethook instances
Fix to allocate fprobe::entry_data_size buffer with rethook instances. If fprobe doesn't allocate entry_data_size buffer for each rethook instance, fprobe entry handler can cause a buffer overrun when storing entry data in entry handler. Link: https://lore.kernel.org/all/170920576727.107552.638161246679734051.stgit@devnote2/ Reported-by: Jiri Olsa <olsajiri@gmail.com> Closes: https://lore.kernel.org/all/Zd9eBn2FTQzYyg7L@krava/ Fixes: 4bbd93455659 ("kprobes: kretprobe scalability improvement") Cc: stable@vger.kernel.org Tested-by: Jiri Olsa <olsajiri@gmail.com> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions