commit | cf487499e0d7ef64ab63d6c76bf298bfaf64b980 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Tue Oct 19 16:02:49 2021 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Tue Oct 19 16:02:49 2021 +0100 |
tree | 122027a0a59f41ba89e2cd5c5a991a0cf2e76f6f | |
parent | d4ef5e75c7ebf57b946f59ce85568b9c459a02f4 [diff] |
Fix a potential illegal memory access when testing for a special LTO symbol name. bfd * linker.c (_bfd_generic_link_add_one_symbol): Test for a NULL name before checking to see if the symbol is __gnu_lto_slim. * archive.c (_bfd_compute_and_write_armap): Likewise. binutils * nm.c (filter_symbols): Test for a NULL name before checking to see if the symbol is __gnu_lto_slim. * objcopy.c (filter_symbols): Likewise.