[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012985: libpfm4: ftbfs with GCC-12



Control: tag -1 upstream

On 16/06/2022 14.11, Matthias Klose wrote:
> pfmlib_perf_event_pmu.c:268:47: error: pointer may be used after ‘realloc’ [-Werror=use-after-free]
>   268 |         perf_pe_free = new_pe + (perf_pe_free - perf_pe);

A patch has been circulating on the perfmon2 mailing list a few days ago ...


Andreas


Reply to: