bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/22809] Segmentation fault in bfd_section_from_shdr


From: mgcho.minic at gmail dot com
Subject: [Bug binutils/22809] Segmentation fault in bfd_section_from_shdr
Date: Mon, 07 May 2018 15:16:06 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]