Re: [PATCH 0/3] perf tools: Address fixes

From: Ian Rogers
Date: Thu Mar 16 2023 - 17:21:31 EST


On Thu, Mar 16, 2023 at 12:42 PM Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
>
> Hi
>
> Here are 3 small fixes resulting from a report from a
> kernel test robot:
>
> https://lore.kernel.org/oe-lkp/202303061424.6ad43294-yujie.liu@xxxxxxxxx
>
> Issues were revealed due to the use of build
> option:
>
> EXTRA_CFLAGS="-fsanitize=undefined -fsanitize=address"
>
>
> Adrian Hunter (3):
> perf symbols: Fix use-after-free in get_plt_got_name()
> perf symbols: Fix unaligned access in get_x86_64_plt_disp()
> perf tools: Avoid warning in do_realloc_array_as_needed()

All 3:
Acked-by: Ian Rogers <irogers@xxxxxxxxxx>

Thanks,
Ian

> tools/perf/util/symbol-elf.c | 10 ++++++++--
> tools/perf/util/util.c | 3 ++-
> 2 files changed, 10 insertions(+), 3 deletions(-)
>
>
> Regards
> Adrian