]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix thinko in recent update to bfd_section_from_shdr.
authorGunther Nikl <gnikl@justmail.de>
Tue, 19 May 2020 16:32:26 +0000 (17:32 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 19 May 2020 16:32:26 +0000 (17:32 +0100)
commit6fd1d259e98354236fafd14ec05f3d6a377ede9f
tree60279557a408cfc1dd001226fe190cff1bca8b05
parent9005fbbb0023f212fcd797227b839f21cb8bf0a1
Fix thinko in recent update to bfd_section_from_shdr.

PR 26005
* elf.c (bfd_section_from_shdr): Replace bfd_malloc + memset with
bfd_zmalloc to allocate memory for the sections_being_created array.
bfd/ChangeLog
bfd/elf.c