diff options
author | Gunther Nikl <gnikl@justmail.de> | 2020-05-19 17:32:26 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-05-19 17:32:26 +0100 |
commit | 6fd1d259e98354236fafd14ec05f3d6a377ede9f (patch) | |
tree | 60279557a408cfc1dd001226fe190cff1bca8b05 /gdb/solib-darwin.c | |
parent | 9005fbbb0023f212fcd797227b839f21cb8bf0a1 (diff) | |
download | gdb-6fd1d259e98354236fafd14ec05f3d6a377ede9f.zip gdb-6fd1d259e98354236fafd14ec05f3d6a377ede9f.tar.gz gdb-6fd1d259e98354236fafd14ec05f3d6a377ede9f.tar.bz2 |
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.
Diffstat (limited to 'gdb/solib-darwin.c')
0 files changed, 0 insertions, 0 deletions