diff options
author | Nick Clifton <nickc@redhat.com> | 2022-10-03 13:19:21 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-10-03 13:19:21 +0100 |
commit | 907b52f4ceb6d15b00a0ac5fc7a7029f8a80b97d (patch) | |
tree | b4be74498a3db6a60a7a27f0796dbd3aaee2bc49 /binutils/ChangeLog | |
parent | 01292987969e807f3c5861c75723d5532bf42f12 (diff) | |
download | gdb-907b52f4ceb6d15b00a0ac5fc7a7029f8a80b97d.zip gdb-907b52f4ceb6d15b00a0ac5fc7a7029f8a80b97d.tar.gz gdb-907b52f4ceb6d15b00a0ac5fc7a7029f8a80b97d.tar.bz2 |
readelf: DO not load section headers from file offset zero
* readelf.c (get_32bit_section_headers): Return false if the
e_shoff field is zero.
(get_64bit_section_headers): 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 38debde..8690d78 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2022-10-03 Nick Clifton <nickc@redhat.com> + + * readelf.c (get_32bit_section_headers): Return false if the + e_shoff field is zero. + (get_64bit_section_headers): Likewise. + 2022-09-28 Nick Clifton <nickc@redhat.com> PR 29628 |