aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2023-03-16 19:41:55 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-04-04 12:39:56 +0000
commita2410b579c72242ac0f77b3768093d8c1b48012e (patch)
treef418f7606d5110f78cfdef468ee5860a041698cf /tools/perf/builtin-annotate.c
parentperf symbols: Fix use-after-free in get_plt_got_name() (diff)
downloadkernel-a2410b579c72242ac0f77b3768093d8c1b48012e.tar.gz
kernel-a2410b579c72242ac0f77b3768093d8c1b48012e.zip
perf symbols: Fix unaligned access in get_x86_64_plt_disp()
Use memcpy() to avoid unaligned access. Discovered using EXTRA_CFLAGS="-fsanitize=undefined -fsanitize=address". Fixes: ce4c8e7966f317ef ("perf symbols: Get symbols for .plt.got for x86-64") Reported-by: kernel test robot <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/oe-lkp/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions