Hi bjchan9an,
There is a heap buffer overflow bug in binutils-2.39 (commit 49c843e6).
Please could you file a binutils bug report about this issue here:
https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils
Thanks.
Cheers
Nick
On Sat, Oct 29, 2022 at 04:39:46PM +0800, bjchan9an wrote:
> The bug is triggered in find_section_in_set() at binutils/readelf.c:970 when
> parsing the debug sections of a malformed ELF file.
Fixed for 2.40 with commit 28750e3b967d.
https://sourceware.org/pipermail/binutils/2022-October/124013.ht