Re: [PATCH] libdwfl: Add some extra space to buffer to read kernel image header

2024-01-30 Thread Mark Wielaard
Hi, On Sun, 2024-01-21 at 20:54 +0100, Mark Wielaard wrote: > GCC 14 notices we play some tricks with the array into which we try > to read the kernel image header. > > image-header.c: In function ‘__libdw_image_header’: > image-header.c:77:18: error: array subscript -496 is outside array bounds

[PATCH] libdwfl: Add some extra space to buffer to read kernel image header

2024-01-21 Thread Mark Wielaard
GCC 14 notices we play some tricks with the array into which we try to read the kernel image header. image-header.c: In function ‘__libdw_image_header’: image-header.c:77:18: error: array subscript -496 is outside array bounds of ‘char[96]’ [-Werror=array-bounds=] 77 | header = heade