https://sourceware.org/bugzilla/show_bug.cgi?id=22809
--- Comment #4 from Mingi Cho <mgcho.minic at gmail dot com> --- Hi Nick, I have tested the bug in x86 Ubuntu system. When hdr->sh_size is 0xffffffff then malloc(hdr->sh_size +1) returns a valid pointer with small size at _bfd_elf_parse_attributes function and the bug is occurred after that. The proposed patch works on my system and fixes the problem. However, I got an error in _bfd_error_handler function during compilation time. Best regards, Mingi -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils