diff options
author | Nick Clifton <nickc@redhat.com> | 2023-04-11 15:30:02 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-04-11 15:30:02 +0100 |
commit | 45f5fe468b23c92b571756ec72b6a9c7be034074 (patch) | |
tree | 983be532e9c66368c69e590d570fcc9c8a6e2163 /binutils/ChangeLog | |
parent | 37522c873e86dd4941b9cdf38116f31d447d2234 (diff) | |
download | gdb-45f5fe468b23c92b571756ec72b6a9c7be034074.zip gdb-45f5fe468b23c92b571756ec72b6a9c7be034074.tar.gz gdb-45f5fe468b23c92b571756ec72b6a9c7be034074.tar.bz2 |
Fix an attempt to allocate an overlarge amount of memory when decoding a corrupt ELF format file.
PR 30311
* readelf.c (uncompress_section_contents): Check for a suspiciously large uncompressed size.
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 0794bed..f81f230 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2023-04-11 Nick Clifton <nickc@redhat.com> + + PR 30311 + * readelf.c (uncompress_section_contents): Check for a + suspiciously large uncompressed size. + 2023-03-30 Nick Clifton <nickc@redhat.com> PR 30284 |