diff options
author | Nick Clifton <nickc@redhat.com> | 2021-05-10 14:44:31 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-05-10 14:44:31 +0100 |
commit | 23182ac0d832477d316547ec2a758d22b43d0837 (patch) | |
tree | 889767d191f7e93ed2d404e3fda29600b29da074 /gdbsupport/gdb_tilde_expand.h | |
parent | 5b45e89f56db79fc22ecbb1657eff8ef39fc2c5f (diff) | |
download | gdb-23182ac0d832477d316547ec2a758d22b43d0837.zip gdb-23182ac0d832477d316547ec2a758d22b43d0837.tar.gz gdb-23182ac0d832477d316547ec2a758d22b43d0837.tar.bz2 |
Fix an indirection via uninitialised memory when parsing a corrupt input file.
PR 27839
* simple.c (simple_dummy_add_to_set): New function.
(simple_dummy_constructor): New function.
(simple_dummy_multiple_common): New function.
(bfd_simple_get_relocated_section_contents): Zero out the
callbacks structure, and then set the add_to_set, constructor and
multiple_common fields.
Diffstat (limited to 'gdbsupport/gdb_tilde_expand.h')
0 files changed, 0 insertions, 0 deletions