diff options
author | Nick Clifton <nickc@redhat.com> | 2021-10-19 16:02:49 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-10-19 16:02:49 +0100 |
commit | cf487499e0d7ef64ab63d6c76bf298bfaf64b980 (patch) | |
tree | 122027a0a59f41ba89e2cd5c5a991a0cf2e76f6f /binutils/ChangeLog | |
parent | d4ef5e75c7ebf57b946f59ce85568b9c459a02f4 (diff) | |
download | gdb-cf487499e0d7ef64ab63d6c76bf298bfaf64b980.zip gdb-cf487499e0d7ef64ab63d6c76bf298bfaf64b980.tar.gz gdb-cf487499e0d7ef64ab63d6c76bf298bfaf64b980.tar.bz2 |
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.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0d5e4a0..192de3c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2021-10-19 Nick Clifton <nickc@redhat.com> + + * 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. + 2021-09-30 Nick Clifton <nickc@redhat.com> * objcopy.c (filter_symbols): Fail if attempting to dredefine |